Exploit database

Vulnerability

CVE-2021-24610

TranslatePress < 2.0.9 - Authenticated Stored Cross-Site Scripting

Vulnerability details

Score
4.8
Severity
medium

CVSS 3.1 · NVD

Vector string

CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

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.

CVE Program

Showing saved CVE details. Refresh is temporarily unavailable.

Exploit source choices

2 sources
apapedulimu/learn-source-code-review
GH-88419ca83bdc1f7afc846e6109fd7d6bGitHubUnofficial GitHub source

Learning source code review, spot vulnerability, find some ways how to fix it.

2021-08-0510 files · 29 stars