# CVE-2018-11758: XML External Entity Reference in Apache Cayenne

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.1
- **CVSS:** 8.1 (v3.0, NVD) `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 2.94% (percentile 88, 2026-11-26)
- **CWE:** CWE-611
- **Aliases:** GHSA-85hw-w436-c725
- **Published:** 2018-08-22T20:29:00.240Z
- **Modified:** 2026-06-17T01:36:31.443Z

## Who should check

- Projects that depend on Maven package org.apache.cayenne:cayenne-parent (\< 3.1.3)
- Anyone running Apache Software Foundation 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

## 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.

## Affected and fixed versions

- Maven `org.apache.cayenne:cayenne-parent`: affected \< 3.1.3; fixed 3.1.3, 4.1 (osv)
- Apache Software Foundation 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 (cvelist)

## Mitigation

- Upgrade org.apache.cayenne:cayenne-parent to one of 3.1.3, 4.1 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2018-11758. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2018-11758.md
Affected: org.apache.cayenne:cayenne-parent < 3.1.3
Fixed in: 3.1.3, 4.1

Steps:
1. Search this machine and project for org.apache.cayenne:cayenne-parent (Maven), Apache Software Foundation Apache Cayenne: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2018-11758 being exploited?

There is no confirmed exploitation: CVE-2018-11758 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 2.94% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2018-11758?

High: CVSS 8.1 (v3.0, scored by NVD). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2018-11758?

org.apache.cayenne:cayenne-parent \< 3.1.3.

### Is there a fix for CVE-2018-11758?

Yes. Fixed in 3.1.3, 4.1. Upgrade org.apache.cayenne:cayenne-parent to one of 3.1.3, 4.1 (or later in the same release line).

### How do I check if I'm affected by CVE-2018-11758?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2018-11758>
- other: <https://lists.apache.org/thread.html/ed60a4d329be3c722f105317ca883986dfcd17615c70d1df87f4528c%40%3Cuser.cayenne.apache.org%3E>
- other: <http://www.securityfocus.com/bid/105142>
- other: <https://lists.apache.org/thread.html/ed60a4d329be3c722f105317ca883986dfcd17615c70d1df87f4528c@%3Cuser.cayenne.apache.org%3E>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2018-11758>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-85hw-w436-c725> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2018-11758> · JSON: <https://flawdb.com/api/v1/entries/CVE-2018-11758>
