CVE-2024-23898Jenkins XSS
Cross-site WebSocket hijacking vulnerability in the Jenkins CLI
Published Jan 24, 2024 · Updated Oct 24, 2026 · Also known as BIT-jenkins-2024-23898, GHSA-53ph-2r2x-vqw8
Key Facts
Patch immediately- CVE-2024-23898 is a high-severity vulnerability (CVSS 8.8 v3.1) affecting Jenkins, org.jenkins-ci.main:jenkins-core (maven).
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- EPSS estimates a 67% probability of exploitation in the next 30 days.
- Fixed versions are available, including Jenkins 0:2.426.3.1706516254-3.el8, Jenkins 2.426.3-r0, Jenkins 2.452.1.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Scores
CVSS v3.1
8.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
67%
Higher than 99.3% of all scored CVEs
Exploit maturity
None known
ATLAS score
33/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
None known
Public exploit code
0
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2024-23898
- advisoryRHSA-2024:0775
- advisoryRHSA-2024:0776
- advisoryRHSA-2024:0778
- advisoryGHSA advisory
- advisoryJenkins Security Advisory 2024-01-24
Description
Jenkins 2.217 through 2.441 (both inclusive), LTS 2.222.1 through 2.426.2 (both inclusive) does not perform origin validation of requests made through the CLI WebSocket endpoint, resulting in a cross-site WebSocket hijacking (CSWSH) vulnerability, allowing attackers to execute CLI commands on the Jenkins controller.
Affected Products
17 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| JenkinsJenkins | >= 2.217.0 | 2.441 |
| org.jenkins-ci.main:jenkins-coremaven | >= 2.217 | 2.442 |
Patched Releases
Jenkins
0:2.426.3.1706516254-3.el8, 2.426.3-r0, 2.452.1, <=2.426.2, <=2.441
org.jenkins-ci.main:jenkins-core
2.426.3, 2.442
Timeline
Publicly disclosed
Jan 24, 2024
Last updated
Oct 24, 2026
Weakness Type
- CWE-79 Improper Neutralization of Input During Web Page Generation
- CWE-346 Origin Validation Error
References
- advisorynvd.nist.gov · CVE-2024-23898
- advisoryRHSA-2024:0775
- advisoryRHSA-2024:0776
- advisoryRHSA-2024:0778
- advisoryGHSA advisory
FAQ
Common Questions.
Jenkins 2.217 through 2.441 (both inclusive), LTS 2.222.1 through 2.426.2 (both inclusive) does not perform origin validation of requests made through the CLI WebSocket endpoint, resulting in a cross-site WebSocket hijacking (CSWSH) vulnerability, allowing attackers to execute CLI commands on the Jenkins controller.
Affected: Jenkins versions >= 2.217.0; org.jenkins-ci.main:jenkins-core (maven) versions >= 2.217. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including Jenkins 0:2.426.3.1706516254-3.el8, Jenkins 2.426.3-r0, Jenkins 2.452.1.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2024-23898 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo