Every CVE Search/ Get API key

CVE-2017-12621

Improper Restriction of XML External Entity Reference in Jelly

9.8 CriticalFix available

During Jelly (xml) file parsing with Apache Xerces, if a custom doctype entity is declared with a "SYSTEM" entity with a URL and that entity is used in the body of the Jelly file, during parser instantiation the parser will attempt to connect to said URL. This could lead to XML External Entity (XXE) attacks in Apache Commons Jelly before 1.0.1.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

8.13%Up 5.1 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 9.8

During Jelly (xml) file parsing with Apache Xerces, if a custom doctype entity is declared with a "SYSTEM" entity with a URL and that entity is used in the body of the Jelly file, during parser instantiation the parser will attempt to connect to said URL. This could lead to XML External Entity (XXE) attacks in Apache Commons Jelly before 1.0.1.

Record
CVE-2017-12621
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-611
Updated
2026-11-02
CVE List No score

During Jelly (xml) file parsing with Apache Xerces, if a custom doctype entity is declared with a "SYSTEM" entity with a URL and that entity is used in the body of the Jelly file, during parser instantiation the parser will attempt to connect to said URL. This could lead to XML External Entity (XXE) attacks in Apache Commons Jelly before 1.0.1.

Record
CVE-2017-12621
Updated
2026-11-02
EUVDEUVD-2022-2787 No score

During Jelly (xml) file parsing with Apache Xerces, if a custom doctype entity is declared with a "SYSTEM" entity with a URL and that entity is used in the body of the Jelly file, during parser instantiation the parser will attempt to connect to said URL. This could lead to XML External Entity (XXE) attacks in Apache Commons Jelly before 1.0.1.

Record
EUVD-2022-2787
Updated
2026-11-03
GitHub AdvisoriesGHSA-6g33-82gc-3pw5 9.8

Improper Restriction of XML External Entity Reference in Jelly

During Jelly (xml) file parsing with Apache Xerces, if a custom doctype entity is declared with a "SYSTEM" entity with a URL and that entity is used in the body of the Jelly file, during parser instantiation the parser will attempt to connect to said URL. This could lead to XML External Entity (XXE) attacks in Apache Commons Jelly before 1.0.1.

Record
GHSA-6g33-82gc-3pw5
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-611
Updated
2026-11-02
OSVGHSA-6g33-82gc-3pw5 9.8

Improper Restriction of XML External Entity Reference in Jelly

During Jelly (xml) file parsing with Apache Xerces, if a custom doctype entity is declared with a "SYSTEM" entity with a URL and that entity is used in the body of the Jelly file, during parser instantiation the parser will attempt to connect to said URL. This could lead to XML External Entity (XXE) attacks in Apache Commons Jelly before 1.0.1.

Record
GHSA-6g33-82gc-3pw5
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-611
Updated
2026-11-02
OSVUBUNTU-CVE-2017-12621 9.8

During Jelly (xml) file parsing with Apache Xerces, if a custom doctype entity is declared with a "SYSTEM" entity with a URL and that entity is used in the body of the Jelly file, during parser instantiation the parser will attempt to connect to said URL. This could lead to XML External Entity (XXE) attacks in Apache Commons Jelly before 1.0.1.

Record
UBUNTU-CVE-2017-12621
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
commons-jelly:commons-jelly
Maven
through 1.0
1.0.1
commons-jelly:commons-jelly
Maven
before 1.0.1, plus listed versions
1.01.0-RC11.0-RC21.0-beta-11.0-beta-2
Show 35 moreShow less
1.0-beta-31.0-beta-3.20020819.0432311.0-beta-3.20020819.0434061.0-beta-3.20020820.0436161.0-beta-3.20020828.0235471.0-beta-3.20020828.0326441.0-beta-3.20020904.0631141.0-beta-3.20020910.0614201.0-beta-3.20020911.0457171.0-beta-3.20020913.0109461.0-beta-3.20020913.1208531.0-beta-41.0-beta-4.20020923.1236591.0-beta-4.20020924.1235111.0-beta-4.20021002.0505431.0-beta-4.20021002.1136281.0-beta-4.20021005.0255461.0-beta-4.20021005.0706501.0-beta-4.20021008.0941311.0-beta-4.20021008.1128201.0-beta-4.20021012.0356151.0-beta-4.20021017.0530111.0-beta-4.20021023.0940061.0-beta-4.20021023.1539321.0-beta-4.20021105.0136281.0-beta-4.20021112.0843371.0-beta-4.20021113.1259541.0-beta-4.20021113.1924211.0-beta-4.20021120.0348591.0-beta-4.20021210.1232411.0-beta-4.20021222.0425531.0-beta-4.20021231.0133371.0-beta-4.20021231.0346451.0-beta-4.20030104.110205SNAPHSOT
1.0.1
jenkins-commons-jelly
Ubuntu:16.04:LTS
All versions, plus listed versions
1.1-jenkins-20120928-1
None known

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2017-12621 is a critical vulnerability (CVSS 9.8) in Apache Commons Jelly, published September 27, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 8.13%, the 94th percentile. Fixed in commons-jelly:commons-jelly 1.0.1.

References

Show 7 moreShow less
MoveEnter Open