What’s Vulnerable › Vulnerabilities

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

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

How to fix

Upgrade to a fixed version: Cozmoslabs TranslatePress 2.0.9. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-24610 or the next vulnerability affects your stack