# CVE-2021-21603: XSS vulnerability in Jenkins notification bar

- Severity: Medium 5.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.04%, higher than 64% of CVEs (2026-12-01)
- Published: 2021-01-13T15:55:27.000Z
- Modified: 2026-09-08T08:47:57.104Z
- Also known as: GHSA-98gq-6hxg-52r6, BIT-JENKINS-2021-21603
- Weaknesses: CWE-79
- Assigned by: jenkins

## Description

Jenkins 2.274 and earlier, LTS 2.263.1 and earlier does not escape notification bar response contents, resulting in a cross-site scripting (XSS) vulnerability.

(As written by CVE List.)

## Affected

- Jenkins project Jenkins: from unspecified up to 2.274; from unspecified up to LTS 2.263.1
- org.jenkins-ci.main:jenkins-core (Maven): before 2.275; from 2.263.2 before 2.275
- jenkins jenkins: up to 2.263.1; up to 2.274
- jenkins (Bitnami): before 2.274.1

## Every score

- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://www.jenkins.io/security/advisory/2021-01-13/#SECURITY-1889> (advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-21603> (advisory, web)
- <https://github.com/jenkinsci/jenkins/commit/f5d98421604e44f398e7de9d222b191a705608af> (web)
- <https://github.com/jenkinsci/jenkins> (package)

## Sources

- CVE List: [CVE-2021-21603](https://www.cve.org/CVERecord?id=CVE-2021-21603), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-98gq-6hxg-52r6](https://github.com/advisories/GHSA-98gq-6hxg-52r6), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2021-21603](https://nvd.nist.gov/vuln/detail/CVE-2021-21603), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-JENKINS-2021-21603](https://osv.dev/vulnerability/BIT-JENKINS-2021-21603), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-21603 · Whole record: https://cve.day/CVE-2021-21603.json · Rebuilt by cve.day 2026-11-25T22:57:59.348Z
