CVE-2022-36922
Published: 27 July 2022
Summary
CVE-2022-36922 is a medium-severity Cross-site Scripting (CWE-79) vulnerability in Jenkins Lucene-Search. Its CVSS base score is 6.1 (Medium).
Operationally, ranked in the top 9.0% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
The vulnerability is a reflected cross-site scripting flaw in the Jenkins Lucene-Search Plugin version 370.v62a5f618cd3a and earlier. The plugin fails to escape the search query parameter when rendering results on the search page, allowing attacker-controlled script content to be reflected back to users.
An unauthenticated attacker can exploit the issue by crafting a malicious link containing a script payload in the search parameter and tricking a Jenkins user into clicking it. Successful exploitation executes the script in the victim's browser session with the privileges of the Jenkins application, enabling theft of session tokens, redirection to attacker-controlled sites, or other actions within the changed security context.
The Jenkins security advisory published on 2022-07-27 addresses SECURITY-2812 and recommends that administrators update the Lucene-Search Plugin to a version that properly escapes the parameter. Corresponding notices were also distributed via the oss-security mailing list on the same date.
EPSS for the CVE rose from low values to a peak of 0.1625 on 2025-12-11 before receding to the current 0.0611, indicating a period of increased exploitation interest well after initial disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2022-6260
Vulnerability details
Jenkins Lucene-Search Plugin 370.v62a5f618cd3a and earlier does not escape the search query parameter displayed on the 'search' result page, resulting in a reflected cross-site scripting (XSS) vulnerability.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Penetration testing submits XSS payloads to web applications, detecting cross-site scripting flaws for subsequent remediation.
Validates web inputs to reject script-related content that could produce XSS.
Output validation against expected content can reject or sanitize script content in generated web pages, reducing XSS exploitability.