Medium severity · published Sep 27, 2021
CVE-2021-24610
The TranslatePress WordPress plugin before 2.0.9 does not implement a proper sanitisation on the translated strings
4.8
CVSS
5.4%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
High
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)5.4% · higher than 93% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
TR
Translatepress · Cozmoslabs
before 2.0.9 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-24610
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-24610
Exploit
http://packetstormsecurity.com/files/164306/WordPress-TranslatePress-2.0.8-Cross-Site-Scripting.html
Exploit
https://wpscan.com/vulnerability/b87fcc2f-c2eb-4e23-9757-d1c590f26d3f
More from Translatepress
9.8
CVE-2026-78267
WordPress TranslatePress plugin <= 3.3.2 - Privilege Escalation vulnerability
8.8
CVE-2022-3141
The Translate Multilingual sites WordPress plugin before 2.3.3 is vulnerable to an authenticated SQL injection
8.1
CVE-2025-58592
WordPress TranslatePress Plugin <= 2.10.2 - Deserialization of untrusted data Vulnerability
7.2
CVE-2025-30773
WordPress TranslatePress plugin <= 2.9.6 - PHP Object Injection Vulnerability
7.1
CVE-2026-103062
WordPress TranslatePress plugin <= 3.3.6 - Cross Site Scripting (XSS) vulnerability
