CVE-2021-24610Cozmoslabs Translatepress
Medium 4.8
Follow: this CVE · Cozmoslabs · Cozmoslabs Translatepress We alert you by email or Slack (account required).
- Priority
- 29
- CVSS 3.1
- 4.8
- EPSS
- 5.4% probability of exploitation in 30 days · percentile 94
- Auth required
- Yes
- Published
- Sep 27, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Translatepress.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| cozmoslabs | translatepress | < 2.0.9 |
Official sources
References
Links published by the sources. Open them with care.
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- wpscan.com Exploit Third Party Advisory