Description
An XML external entities (XXE) vulnerability in Jenkins Token Macro Plugin 2.7 and earlier allowed attackers able to control a the content of the input file for the "XML" macro to have Jenkins resolve external entities, resulting in the extraction of secrets from the Jenkins agent, server-side request forgery, or denial-of-service attacks.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Jenkins project | Jenkins Token Macro Plugin | 2.7 and earlier | — |
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-plugins | 4.1.1561471763-1.el7 | RHSA-2019:1636 |
| Red Hat OpenShift 3 | atomic-openshift +12 | 3.11.129-1.git.0.bd4f2d5.el7 | RHSA-2019:1851 |
| Red Hat OpenShift 3 | jenkins-2-plugins | 3.11.1560870549-1.el7 | RHSA-2019:1851 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.jenkins-ci.plugins:token-macro | < 2.8 | 2.8 | GHSA-g6h2-4x64-c59x |
Advisories 2
- RHSA-2019:1851 Red Hat Security Advisory: OpenShift Container Platform 3.11 security update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- RHSA-2019:1636 Red Hat Security Advisory: OpenShift Container Platform 4.1 jenkins-2-plugins security update Red Hat Security Advisories (RHSA) · Jun 27, 2026
References
- [oss-security] 20190611 Multiple vulnerabilities in Jenkins plugins mailing-list
- 108747 vdb-entry
- RHSA-2019:1636 vendor-advisory
- RHSA-2019:1851 vendor-advisory
- https://jenkins.io/security/advisory/2019-06-11/#SECURITY-1399