vendor:
TranslatePress Multilingual
by:
Nosa Shandy (Apapedulimu)
4.8
CVSS
MEDIUM
Stored Cross-Site Scripting (XSS)
79
CWE
Product Name: TranslatePress Multilingual
Affected Version From: 2.0.6
Affected Version To: 2.0.8
Patch Exists: YES
Related CWE: CVE-2021-24610
CPE: a:wordpress:translatepress_multilingual:2.0.6
Platforms Tested: macOS 11.4
2021
WordPress Plugin TranslatePress 2.0.8 – Stored Cross-Site Scripting (XSS) (Authenticated)
The plugin does not implement a proper filter on the 'translated' parameter when input to the database. The 'trp_sanitize_string' function only check the "<script></script>" with the preg_replace, the attacker can use the HTML Tag to execute javascript.
Mitigation:
Update to version 2.0.8 or later