Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-124248: medium-severity vulnerability (CVSS 5.4) in john-dagelmore GPTranslate – Multilingual AI Translation Agent for WordPress: Translate Your Site with AI.
What happened
Original description from the source: The GPTranslate – Multilingual AI Translation Agent for WordPress: Translate Your Site with AI plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 2.34.17 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Exploitation requires the plugin's non-default 'HTML DOM method' to be enabled for server-side translation, and a translation row for the target language-prefixed URL must exist to arm the output buffer that routes page content through the vulnerable Simple HTML DOM parser.
Why it matters
Medium severity, CVSS 5.4.
Affected products and versions
john-dagelmore GPTranslate – Multilingual AI Translation Agent for WordPress: Translate Your Site with AI <= 2.34.17
| Product | Versions | Fixed in |
|---|---|---|
| john-dagelmore GPTranslate – Multilingual AI Translation Agent for WordPress: Translate Your Site with AI | <= 2.34.17 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://www.wordfence.com/threat-intel/vulnerabilities/id/621a1431-96e4-431e-aa68-586cb76cd29b?source=cve — CVE Program
- https://plugins.trac.wordpress.org/browser/gptranslate/tags/2.34.17/serverside-translations.php#L1986 — CVE Program
- https://plugins.trac.wordpress.org/browser/gptranslate/tags/2.34.17/serverside-translations.php#L2392 — CVE Program
- https://plugins.trac.wordpress.org/browser/gptranslate/tags/2.34.17/simplehtmldom.php#L1651 — CVE Program
- https://plugins.trac.wordpress.org/browser/gptranslate/tags/2.34.17/simplehtmldom.php#L1535 — CVE Program
- https://plugins.trac.wordpress.org/browser/gptranslate/tags/2.34.17/simplehtmldom.php#L1668 — CVE Program
- https://plugins.trac.wordpress.org/browser/gptranslate/tags/2.34.17/simplehtmldom.php#L415 — CVE Program
- https://plugins.trac.wordpress.org/browser/gptranslate/tags/2.34.17/gptranslate.php#L4109 — CVE Program
- https://plugins.trac.wordpress.org/browser/gptranslate/tags/2.34.17/gptranslate.php#L3907 — CVE Program
- https://plugins.trac.wordpress.org/browser/gptranslate/tags/2.35/simplehtmldom.php — CVE Program
Weaknesses (CWE): CWE-79
Relevant change history
Published
Preliminary advisory published.