# CVE-2021-24535: Light Messages <= 1.0 - CSRF to Stored XSS

- 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.41%, higher than 37% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-08-16T10:48:29.000Z
- Modified: 2026-06-17T03:40:11.830Z
- Weaknesses: CWE-79, CWE-352
- Assigned by: WPScan

## Description

The Light Messages WordPress plugin through 1.0 is lacking CSRF check when updating it's settings, and is not sanitising its Message Content in them (even with the unfiltered_html disallowed). As a result, an attacker could make a logged in admin update the settings to arbitrary values, and set a Cross-Site Scripting payload in the Message Content. Depending on the options set, the XSS payload can be triggered either in the backend only (in the plugin's settings), or both frontend and backend.

(As written by CVE List.)

## Affected

- Unknown Light Messages: from 1.0 up to 1.0
- light_messages_project light_messages: up to 1.0

## 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/351de889-9c0a-4637-bd06-0e1fe1d7e89f> (exploit, third-party-advisory)

## Sources

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

---

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