CVE-2021-24610: Cozmoslabs Translatepress
Medium severity, CVSS 4.8. EPSS: 5.4% chance of exploitation in the next 30 days.
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.
Affected products
- Cozmoslabs Translatepress: before 2.0.9 (fixed in 2.0.9)
Published 2021-09-27. Last modified 2026-06-17.