XSS in Cozmoslabs Translatepress

CVE-2021-24610

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.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.054 (91.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 4.8 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2021-24610?
CVE-2021-24610 is a medium-severity vulnerability in Cozmoslabs Translatepress, classified under Cross-site Scripting. CVSS score: 4.8/10. Published 2021-09-27.
How severe is CVE-2021-24610?
Medium severity. CVSS v3 base score is 4.8 out of 10.
Is CVE-2021-24610 known to be exploited?
3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.