WaratekVRT Sign in

CVE-2019-10337 Jenkins Token Macro

Affected softwareJenkins Token Macro
Severity7.5 High CVSS 3.0 2 scores
Fixed in2.8
WeaknessXML external entity (XXE) (CWE-611)
Published11 Jun 2019
Updated17 Jun 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 7 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 2.0% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

  • Protection full XXE
  • Action available security rule
  • Review automated Inferred
  • Record active
Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR xxe security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-611: XML External Entity Reference.

How to mitigate CVE-2019-10337

Upgrade Jenkins Token Macro to 2.8 or later. Until you can, Waratek RASP blocks exploitation with its XXE rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

7.5 HIGH v3.0 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.0 7.5 HIGH CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H NVD Primary published
CVSS 2.0 5.0 none AV:N/AC:L/Au:N/C:N/I:N/A:P NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.jenkins-ci.plugins:token-macro 0 2.8 unbounded

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
nvd jenkins token macro generic ≤ 2.7
osv org.jenkins-ci.plugins token-macro generic < 2.8

References

URLTags
https://github.com/jenkinsci/token-macro-plugin/commit/004319f1b6e2a0f097a096b9df9dc19a5ac0d9b0 WEB
https://access.redhat.com/errata/RHSA-2019:1636 WEB
https://access.redhat.com/errata/RHSA-2019:1851 WEB
https://github.com/jenkinsci/token-macro-plugin PACKAGE
https://jenkins.io/security/advisory/2019-06-11/#SECURITY-1399 WEB
http://www.openwall.com/lists/oss-security/2019/06/11/1 WEB
http://www.securityfocus.com/bid/108747 WEB

Timeline

Published2019-06-11By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.