CVE-2023-27898
Cross-site Scripting vulnerability in Jenkins
Reported by jenkins · Published March 8, 2023
jenkins-core is fixed in 2.394 and 2.375.4 (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.jenkins-ci.main:jenkins-core | Maven Central | 2.394, 2.375.4 |
| jenkins | Chainguard | 2.395-r0 |
| jenkins | Alpine | 2.387.2-r0 |
| jenkins | Bitnami | 2.394.0 |
| jenkins | Wolfi | 2.395-r0 |
| jenkins | jenkins | 2.394, 2.375.4 |
| jenkins | Bitnami | 2.394.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Jenkins Project | Jenkins | 2.270 |
| Jenkins Project | Jenkins | 2.270 |
| chainguard | jenkins | 0 |
| Maven | org.jenkins-ci.main:jenkins-core | 2.270 |
| alpine | jenkins | 0 |
| wolfi | jenkins | 0 |
Timeline
- Mar 8, 2023 CVE Published
- Mar 9, 2023 EPSS Score (30 in total, the first dated here)
- Feb 28, 2025 CVE Updated
- Mar 17, 2026 Security Advisory (9 in total, the first dated here)
- Mar 21, 2026 Distribution Patch (8 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-27898
vulnetix vdb fixes CVE-2023-27898
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-27898/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- Jenkins Security Advisory 2023-03-08 vendor-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2023-27898 advisory