{"id":"CVE-2021-24610","aliases":["EUVD-2021-11522","GHSA-79hx-hhr4-x2xv"],"status":"published","title":"TranslatePress \u003c 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.","severity":{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.05432,"percentile":0.92825,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-79"],"published":"2021-09-27T15:25:23Z","modified":"2026-06-17T03:40:19Z","exploits":[{"source":"exploitdb","id":"EDB-50343","title":"WordPress Plugin TranslatePress 2.0.8 - Stored Cross-Site Scripting (XSS) (Authenticated)","type":"webapps","platform":"php","date":"2021-09-28","url":"https://www.exploit-db.com/exploits/50343"}],"products":[{"vendor":"cozmoslabs","product":"translatepress"},{"vendor":"unknown","product":"translate multilingual sites – translatepress"}],"references":[{"url":"https://wpscan.com/vulnerability/b87fcc2f-c2eb-4e23-9757-d1c590f26d3f","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory"]},{"url":"http://packetstormsecurity.com/files/164306/WordPress-TranslatePress-2.0.8-Cross-Site-Scripting.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","VDB Entry"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24610"},{"url":"https://github.com/advisories/GHSA-79hx-hhr4-x2xv"}],"sources":{"cve":[{"id":"CVE-2021-24610","title":"TranslatePress \u003c 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.","status":"published","published":"2021-09-27T15:25:23Z","modified":"2024-08-03T19:35:20.256Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:33:05.000797Z"}],"euvd":[{"id":"EUVD-2021-11522","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.","status":"published","published":"2021-09-27T15:25:23Z","modified":"2024-08-03T19:35:20Z","updated_at":"2026-11-03T03:24:56.857735Z"}],"ghsa":[{"id":"GHSA-79hx-hhr4-x2xv","title":"The TranslatePress WordPress plugin before 2.0.9 does not implement a proper sanitisation on the...","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.","status":"published","published":"2022-05-24T19:15:49Z","modified":"2023-01-30T05:02:20Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:46:37.149934Z"}],"nvd":[{"id":"CVE-2021-24610","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.","status":"published","published":"2021-09-27T16:15:08.617Z","modified":"2026-06-17T03:40:19.413Z","cvss":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","level":"low","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:06:58.933037Z"}]}}
