{"id":"CVE-2021-24610","published":"2021-09-27T15:25:23Z","modified":"2024-08-03T19:35:20Z","title":"TranslatePress < 2.0.9 - Authenticated Stored Cross-Site Scripting","vendor":null,"product":"Translate Multilingual sites – TranslatePress","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.05432,"percentile":0.92914,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://wpscan.com/vulnerability/b87fcc2f-c2eb-4e23-9757-d1c590f26d3f","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/164306/WordPress-TranslatePress-2.0.8-Cross-Site-Scripting.html","tags":["x_refsource_MISC"]}],"priority":{"score":23.6,"factors":[{"name":"EPSS percentile","points":18.58},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2021-09-28"},"first":{"date":"2021-09-28","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/50343"},"provenance":"source"},"affectedVersions":[{"vendor":"Unknown","product":"Translate Multilingual sites – TranslatePress","versions":[">= 2.0.9, < 2.0.9"]}],"summary":{"text":"The TranslatePress WordPress plugin (Translate Multilingual sites – TranslatePress) before 2.0.9 has improper sanitisation of translated strings, where the trp_sanitize_string function removes only script tags via regex and leaves other HTML tags and attributes able to run JavaScript. An attacker who holds an authenticated account can exploit this to store cross-site scripting payloads in translated content.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:06:47Z"},"euvd":{"id":"EUVD-2021-11522","exploited":false,"provenance":"source"},"exploits":[{"id":50343,"url":"https://www.exploit-db.com/exploits/50343","title":"WordPress Plugin TranslatePress 2.0.8 - Authenticated Stored Cross-Site Scripting (XSS)","date":"2021-09-28","verified":false,"provenance":"source"}],"exploitRefs":["http://packetstormsecurity.com/files/164306/WordPress-TranslatePress-2.0.8-Cross-Site-Scripting.html"]}