4.8medium
TranslatePress < 2.0.9 - Authenticated Stored Cross-Site Scripting
- Severity
- 4.8medium CVSS:3.1 by NVD
- Exploit likelihood
- 5.43% (higher than 92% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- WPScan
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
| Product or package | Versions | Reported by |
|---|---|---|
| Unknown Translate Multilingual sites – TranslatePress | from 2.0.9 before 2.0.9 | CVE List |
| cozmoslabs translatepress | before 2.0.9 | NVD |
All scores
| NVD | 4.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.5low CVSS:2.0 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
Classification
What each source says
CVE List
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.
NVD (es)
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
References
| https://wpscan.com/vulnerability/b87fcc2f-c2eb-4e23-9757-d1c590f26d3f | exploit, third-party-advisory | |
| http://packetstormsecurity.com/files/164306/WordPress-TranslatePress-2.0.8-Cross-Site-Scripting.html | exploit, third-party-advisory, vdb-entry | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-24610 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-24610 changed 2026-06-17 | Public domain |