XSS in Jenkins
CVE-2023-27898
Jenkins 2.270 through 2.393 (both inclusive), LTS 2.277.1 through 2.375.3 (both inclusive) does not escape the Jenkins version a plugin depends on when rendering the error message stating its incompatibility with the current version of Jenkins, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to provide plugins to the configured update sites and have this message shown by Jenkins instances.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.6 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.018, 79.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Jenkins
- Jenkins Project — versions 2.270
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 8 other repositories (ARPSyndicate/cvemon, gquere/pwn_jenkins, Inplex-sys/CVE-2022-23093, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- Jenkins Security Advisory 2023-03-08 (vendor-advisory, Vendor Advisory)