CVE-2021-24610
JSON

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 packageVersionsReported by
Unknown Translate Multilingual sites – TranslatePressfrom 2.0.9 before 2.0.9CVE List
cozmoslabs translatepressbefore 2.0.9NVD

All scores

NVD4.8medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
NVD3.5low CVSS:2.0AV: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

Sources

SourceRecordLicence
CVE ListCVE-2021-24610 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-24610 changed 2026-06-17Public domain