XSS in Top Comments Project
CVE-2024-12874
The Top Comments WordPress plugin through 1.0 does not sanitise and escape some of its settings, which could allow high privilege users such as admin to perform Stored Cross-Site Scripting attacks even when the unfiltered_html capability is disallowed (for example in multisite setup).
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.8 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.003 (22.2th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 22nd percentile — 22.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: 0.000
Affected products
- Top Comments Project
- Top Comments — versions 0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- wpscan.com/vulnerability/7cc14a87-4605-49f6-9d51-0b9eb57e6c9d/ (Exploit, technical-description, Third Party Advisory, exploit, vdb-entry)
Frequently asked questions
- What is CVE-2024-12874?
- CVE-2024-12874 is a medium-severity vulnerability in Top Comments Project, classified under Cross-site Scripting. CVSS score: 4.8/10. Published 2025-05-15.
- How severe is CVE-2024-12874?
- Medium severity. CVSS v3 base score is 4.8 out of 10.
- Is CVE-2024-12874 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.