CVE-2021-24610
MEDIUM
4.8
CVSS 3.1
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.
Affected products and versions
- Unknown Translate Multilingual sites – TranslatePress — From 2.0.9 (including) to 2.0.9 (excluding)
- cozmoslabs translatepress — Before 2.0.9
References
- packetstormsecurity.com http://packetstormsecurity.com/files/164306/WordPress-TranslatePress-2.0.8-Cross-Site-Scripting.html Exploit, Third Party Advisory, VDB Entry
- wpscan.com https://wpscan.com/vulnerability/b87fcc2f-c2eb-4e23-9757-d1c590f26d3f Exploit, Third Party Advisory
- nvd.nist.gov Official NVD record