CVE-2023-27898 in Jenkins
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 exploitab...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, can impact systems beyond the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Jenkins | Jenkins | ≥ 2.270, < 2.394 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2023-27898 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-060881-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| Published | 2023-03-10 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-79: Cross-Site Scripting (XSS)
Attacker injects malicious scripts into web pages viewed by other users, executing in the victim's browser context.
Related attack patterns (CAPEC)
CAPEC-85 AJAX Footprinting via CWE-79
CAPEC-209 XSS Using MIME Type Mismatch via CWE-79
CAPEC-588 DOM-Based XSS via CWE-79
CAPEC-591 Reflected XSS via CWE-79
CAPEC-592 Stored XSS via CWE-79
Show all 6
CAPEC-63 Cross-Site Scripting (XSS) via CWE-79
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
Jenkins versions 2.270 through 2.393 and LTS 2.277.1 through 2.375.3 are vulnerable to a stored cross-site scripting (XSS) attack due to improper escaping of plugin version information in error messages.
Attackers can exploit this vulnerability by providing malicious plugins to the configured update sites. When Jenkins attempts to display an incompatibility error message for these plugins, the unescaped version information can be executed as script in the user's browser, leading to potential session hijacking or other malicious actions.
Questions
What is CVE-2023-27898?
Jenkins versions 2.270 through 2.393 and LTS 2.277.1 through 2.375.3 are vulnerable to a stored cross-site scripting (XSS) attack due to improper escaping of plugin version information in error messages.
What is the CVSS score for CVE-2023-27898?
CVE-2023-27898 has CVSS 9.6 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H. EPSS: 1.4%.
Is CVE-2023-27898 actively exploited?
No confirmed active exploitation of CVE-2023-27898 as of 2026-09-25.
How do I remediate CVE-2023-27898?
Priority: IMMEDIATE. Advisory: https://www.jenkins.io/security/advisory/2023-03-08/#SECURITY-3037
What systems are affected by CVE-2023-27898?
CVE-2023-27898 affects Jenkins Jenkins.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Jenkins","product":"Jenkins","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.