# CVE-2021-24610: TranslatePress < 2.0.9 - Authenticated Stored Cross-Site Scripting

- Severity: Medium 4.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:H/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): 5.43%, higher than 92% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2021-09-27T15:25:23.000Z
- Modified: 2026-06-17T03:40:19.413Z
- Weaknesses: CWE-79
- Assigned by: WPScan

## Description

The TranslatePress WordPress plugin before 2.0.9 does not implement a proper sanitisation on the translated strings. The 'trp_sanitize_string' function only removes script tag with a regex, still allowing other HTML tags and attributes to execute javascript, which could lead to authenticated Stored Cross-Site Scripting issues.

(As written by CVE List.)

## Affected

- Unknown Translate Multilingual sites – TranslatePress: from 2.0.9 before 2.0.9
- cozmoslabs translatepress: before 2.0.9

## Every score

- NVD: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://wpscan.com/vulnerability/b87fcc2f-c2eb-4e23-9757-d1c590f26d3f> (exploit, third-party-advisory)
- <http://packetstormsecurity.com/files/164306/WordPress-TranslatePress-2.0.8-Cross-Site-Scripting.html> (exploit, third-party-advisory, vdb-entry)

## Sources

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

---

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