# Apache is vulnerable to XXE in XSD validation processor

Advisory record · `GHSA-8vfm-4388-6rpc`

- **Identifiers:** `GHSA-8vfm-4388-6rpc` · `CVE-2018-8027`
- **State:** Confirmed
- **Severity:** CVSS 9.8 Critical
- **Critical:** Yes: CVSS 9+
- **Weakness (CWE):** [CWE-611](https://cwe.mitre.org/data/definitions/611.html)
- **Tags:** [XML external entities (XXE)](https://agentprime.io/advisories/tag/xxe.md)
- **Published:** 16 Oct 2018
- **Updated:** 11 Mar 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 16 Oct 2018, 23:06 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Critical

Critical, because:

- CVSS score 9.8: 9.0 or more.

How we decide what’s critical: <https://agentprime.io/advisories/critical.md>

## Affected packages

- `org.apache.camel:camel-core` (Maven): affected `>=2.20.0, <2.20.4 || >=2.21.0, <2.21.1`; fixed in `2.20.4`, `2.21.1`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 9.8 Critical, CVSS 3.0: `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** 0.054, the 92nd percentile, on 12 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the GitHub Advisory Database, published 16 Oct 2018. New records show when each source confirmed them.

## Sources

- [GitHub Advisory Database: GHSA-8vfm-4388-6rpc](https://github.com/advisories/GHSA-8vfm-4388-6rpc)
- [OSV: GHSA-8vfm-4388-6rpc](https://osv.dev/vulnerability/GHSA-8vfm-4388-6rpc)
- <https://nvd.nist.gov/vuln/detail/CVE-2018-8027>
- <https://github.com/apache/camel/commit/ec3d0db81ba061b27e934d5ff56e9baca0049eb>
- <https://github.com/apache/camel/commit/9f7376abbff7434794f2c7c2909e02bac232fb5>
- <https://github.com/apache/camel/commit/9c6a8f61de40c20f28240fbb2af4cb425793d41>
- <https://github.com/apache/camel/commit/99cbcd78b7e64083fae1d9552ead7425a90994b>
- <https://github.com/apache/camel/commit/8afc5d1757795fde715902067360af5d90f046d>
- <https://github.com/apache/camel/commit/87c92b7b38890c217bc76f2c55036e6a5cca9a0>
- <https://github.com/apache/camel/commit/8467d644813a62f3a836c0c7dee8cf5a41de3c0>
- <https://github.com/apache/camel/commit/3fe03e361725b66c1c3eaa40bb11577fb3dc17b>
- <https://github.com/apache/camel/commit/2e8f21dec883b083ddcdddd802847b4c378a61a>
- <https://github.com/apache/camel/commit/2c6964ae94d8f9a9c9a32e5ae5a0b794e8b8d3b>
- <https://github.com/apache/camel/commit/24eefa559fe6b310629d2bf00663d2679ec81b9>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-8vfm-4388-6rpc>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-8vfm-4388-6rpc/>. Everything for agents: <https://agentprime.io/llms.txt>.
