WordPress Plugin Vulnerabilities
TranslatePress < 3.2.6 - Unauthenticated Stored XSS via Gettext Markers
Description
The plugin is vulnerable to unauthenticated Stored Cross-Site Scripting. The special gettext markers '#!trpst#' and '#!trpen#' are unconditionally rewritten to '<' and '>' by translate_page() in includes/class-translation-render.php (lines 538-539). Because those markers are plain text with no HTML-special characters, an unauthenticated attacker can embed them in a comment; the markers survive wp_kses, and when the post is viewed in a secondary language the substitution turns the attacker's '#!trpst#img ... #!trpen#' into a real <img> tag. remove_tags_from_output() only strips <script>/<style>, so an <img onerror=...> executes in the visitor's browser.
Affects Plugins
References
Classification
Type
XSS
OWASP top 10
CWE
CVSS
Miscellaneous
Original Researcher
Pham Duc Anh
Verified
No
WPVDB ID
Timeline
Publicly Published
2026-08-18 (about 1 month ago)
Added
2026-08-18 (about 1 month ago)
Last Updated
2026-08-18 (about 1 month ago)