The gTranslate Shortcode plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘base_lang’ parameter in all versions up to, and including, 1.0 due to insufficient input sanitization and output escaping. This vulnerability allows authenticated attackers with Contributor-level access and above to inject arbitrary web scripts into pages, which will execute whenever a user accesses the affected page.
Details
| Severity | Base Score | CVE |
|---|---|---|
| MEDIUM | 6.4 | CVE-2025-8719 |
Exploitation
To exploit this vulnerability, an attacker with Contributor-level access can manipulate the ‘base_lang’ parameter in the gTranslate Shortcode plugin. By injecting malicious scripts into this parameter, the attacker can cause these scripts to execute in the context of users accessing the affected pages, potentially leading to data theft or session hijacking.
Affected Products
- gTranslate Shortcode Plugin: A WordPress plugin that allows users to add Google Translate functionality to their sites, vulnerable in all versions up to 1.0 due to insufficient input sanitization.
Mitigation
To mitigate this vulnerability, it is recommended to update the gTranslate Shortcode plugin to the latest version where the issue has been addressed. Additionally, implementing proper input validation and output escaping can help prevent similar vulnerabilities in the future.
