# CVE-2024-2402: Better Comments < 1.5.6 - Admin+ Stored XSS

- Severity: Medium 5.4 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-04-24T05:00:02.534Z
- Modified: 2026-06-17T07:24:27.797Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: WPScan

## Description

The Better Comments WordPress plugin before 1.5.6 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)

(As written by CVE List.)

## Affected

- Unknown Better Comments: before 1.5.6
- utopique better_comments: before 1.5.6

## References

- <https://wpscan.com/vulnerability/98e050cf-5686-4216-bad1-575decf3eaa7/> (exploit, technical-description, third-party-advisory, vdb-entry)

## Sources

- CVE List: [CVE-2024-2402](https://www.cve.org/CVERecord?id=CVE-2024-2402), CVE Terms of Use, modified 2024-10-29
- NVD: [CVE-2024-2402](https://nvd.nist.gov/vuln/detail/CVE-2024-2402), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-2402 · Whole record: https://cve.day/CVE-2024-2402.json · Rebuilt by cve.day 2026-11-25T22:58:39.542Z
