# CVE-2021-24808: BP Better Messages < 1.9.9.41 - Reflected Cross-Site Scripting

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/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.94%, higher than 62% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-11-01T08:46:29.000Z
- Modified: 2026-06-17T03:40:56.630Z
- Weaknesses: CWE-79
- Assigned by: WPScan

## Description

The BP Better Messages WordPress plugin before 1.9.9.41 sanitise (with sanitize_text_field) but does not escape the 'subject' parameter before outputting it back in an attribute, leading to a Reflected Cross-Site Scripting issue

(As written by CVE List.)

## Affected

- Unknown BP Better Messages: from 1.9.9.41 before 1.9.9.41
- wordplus better_messages: before 1.9.9.41

## Every score

- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://wpscan.com/vulnerability/53ff82ec-00ec-4b20-8f60-db9db8c025b4> (exploit, third-party-advisory)
- <https://plugins.trac.wordpress.org/changeset/2605772/bp-better-messages/trunk/views/layout-new.php> (patch, third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2021-24808 · Whole record: https://cve.day/CVE-2021-24808.json · Rebuilt by cve.day 2026-11-25T22:58:05.286Z
