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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Jenkins project | Jenkins | unspecified – ≤ 2.251, unspecified – ≤ LTS 2.235.3 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat OpenShift 4 | jenkins | 2.235.5.1600414805-1.el7 | RHSA-2020:3841, RHSA-2020:3808 |
| Red Hat OpenShift 4 | openshift +1 | 4.3.37-202009120213.p0.git.0.dffefe4.el8 | RHSA-2020:3808 |
| Red Hat OpenShift 3 | jenkins | 2.235.5.1600415953-1.el7 | RHSA-2020:4223 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Jenkins 2.235.3 - 'X-Forwarded-For' Stored XSS EDB-49244 · webapps · Dec 14, 2020
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.jenkins-ci.main:jenkins-core | < 2.235.4 | 2.235.4 | GHSA-jpvq-v729-7j2h |
| Maven | org.jenkins-ci.main:jenkins-core | >= 2.237, < 2.252 | 2.252 | GHSA-jpvq-v729-7j2h |
Advisories 3
- RHSA-2020:3808 Red Hat Security Advisory: OpenShift Container Platform 4.3.38 jenkins and openshift security update Red Hat Security Advisories (RHSA) · Aug 8, 2026
- RHSA-2020:4223 Red Hat Security Advisory: OpenShift Container Platform 3.11.306 jenkins security update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- RHSA-2020:3841 Red Hat Security Advisory: OpenShift Container Platform 4.5.13 jenkins security update Red Hat Security Advisories (RHSA) · Aug 5, 2026