CVE-2022-41225
Published: 21 September 2022
Summary
CVE-2022-41225 is a medium-severity Cross-site Scripting (CWE-79) vulnerability in Jenkins Anchore Container Image Scanner. Its CVSS base score is 5.4 (Medium).
Operationally, ranked in the top 4.3% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
The Jenkins Anchore Container Image Scanner Plugin 1.0.24 and earlier contains a stored cross-site scripting vulnerability (CWE-79) because the plugin fails to escape data returned by the Anchore engine API. The issue affects Jenkins instances that use this plugin to integrate container image scanning results and carries a CVSS 3.1 score of 5.4.
An attacker who can influence or control responses from the Anchore engine can inject malicious scripts that are stored and later executed in the browsers of other Jenkins users who view the affected pages, resulting in limited impacts to confidentiality and integrity under the CVSS vector AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
The Jenkins security advisory published on 2022-09-21 details the vulnerability and is the authoritative source for mitigation steps, including any available plugin updates or configuration guidance.
The associated EPSS score has remained flat at its peak value of 0.2059 with no material increase observed after disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2022-6786
Vulnerability details
Jenkins Anchore Container Image Scanner Plugin 1.0.24 and earlier does not escape content provided by the Anchore engine API, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to control API responses by Anchore engine.
- 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.