{"id":"CVE-2021-24610","aliases":["CVE-2021-24610"],"related":[],"kind":"vulnerability","state":"published","title":"TranslatePress < 2.0.9 - Authenticated Stored Cross-Site Scripting","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"El plugin TranslatePress de WordPress versiones anteriores a 2.0.9, no implementa una sanitización apropiada en las cadenas traducidas. La función \"trp_sanitize_string\" sólo elimina la etiqueta script con una regex, permitiendo todavía que otras etiquetas y atributos HTML ejecuten javascript, que podría conllevar a problemas de tipo Cross-Site Scripting Almacenado autenticado","source":"nvd"}],"published":"2021-09-27T15:25:23.000Z","modified":"2026-06-17T03:40:19.413Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","score":3.5,"rating":"LOW"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"custom","introduced":"2.0.9","fixed":"2.0.9","status":"affected"}],"vendor":"Unknown","product":"Translate Multilingual sites – TranslatePress","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"2.0.9"}],"vendor":"cozmoslabs","product":"translatepress","cpe":"cpe:2.3:a:cozmoslabs:translatepress:*:*:*:*:*:wordpress:*:*","source":"nvd"}],"references":[{"url":"https://wpscan.com/vulnerability/b87fcc2f-c2eb-4e23-9757-d1c590f26d3f","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://packetstormsecurity.com/files/164306/WordPress-TranslatePress-2.0.8-Cross-Site-Scripting.html","tags":["exploit","third-party-advisory","vdb-entry","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["apapedulimu"],"assigner":"WPScan","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-24610","url":"https://www.cve.org/CVERecord?id=CVE-2021-24610","licence":"CVE Terms of Use","modified":"2024-08-03T19:35:20.256Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-24610","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24610","licence":"Public domain","modified":"2026-06-17T03:40:19.413Z"}],"updatedAt":"2026-11-25T22:58:04.174Z","epss":{"score":0.05432,"percentile":0.92889,"date":"2026-12-01T12:00:22.000Z"}}