Every CVESearch/Get API key

CVE-2021-24610

TranslatePress < 2.0.9 - Authenticated Stored Cross-Site Scripting

4.8 MediumPublic exploit

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
High
User interaction
Required

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
None

Exploit likelihood

5.43%Up 5.0 points since Sep 28, 2021
90%50%10%1%

What each source reports

NVD Score used4.8

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.

Record
CVE-2021-24610
CVSS 3.1
4.8 MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
CVSS 2.0
3.5 LowAV:N/AC:M/Au:S/C:N/I:P/A:N
Weakness
CWE-79
Updated
2026-11-02
CVE ListNo score

TranslatePress < 2.0.9 - Authenticated Stored Cross-Site Scripting

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.

Record
CVE-2021-24610
Weakness
CWE-79
Updated
2026-11-02
EUVDEUVD-2021-11522No score

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.

Record
EUVD-2021-11522
Updated
2026-11-03
GitHub AdvisoriesGHSA-79hx-hhr4-x2xvNo score

The TranslatePress WordPress plugin before 2.0.9 does not implement a proper sanitisation on the...

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.

Record
GHSA-79hx-hhr4-x2xv
Weakness
CWE-79
Updated
2026-11-02

Affected products

Public exploits

Links only. Every CVE stores no exploit code.

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, Exploit-DB, GitHub Advisories, NVD

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-24610 is a medium vulnerability (CVSS 4.8) in Cozmoslabs Translatepress, published September 27, 2021. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 5.43%, the 92nd percentile. No source names a fixed version.

References

MoveEnter Open