CVE-2016-6812 · apache
CVE-2016-6812
The HTTP transport module in Apache CXF prior to 3.0.12 and 3.1.x prior to 3.1.9 uses FormattedServiceListWriter to provide an HTML page which lists the names and absolute URL addresses of the available service endpoints. The module calculates the base URL using the current HttpServletRequest. The calculated base URL is used by FormattedServiceListWriter to build the service endpoint absolute URLs. If the unexpected matrix parameters have been injected into the request URL then these matrix parameters will find their way back to the client in the services list page which represents an XSS risk to the client.
Published 2017-08-10, last changed 2026-06-17. Weakness: CWE-79.
How to fix
Upgrade to a fixed version: org.apache.cxf:cxf-core 3.0.12, 3.1.9 (Maven) (each is the fix for its own release line). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Timeline
| 2017-08-10 | Published |
| 2022-05-13 | Package advisory GHSA-vw2c-5wph-v92r |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 7.55% |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-vw2c-5wph-v92r | org.apache.cxf:cxf-core (Maven) | 3.0.12 |
| GHSA-vw2c-5wph-v92r | org.apache.cxf:cxf-core (Maven) | 3.1.9 |
Also known as: GHSA-vw2c-5wph-v92r
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2026-50645 | 2026-06-12 | 7.5 | Apache CXF: No restriction on attachment headers per message |
| CVE-2026-49875 | 2026-06-12 | 9.8 | Apache CXF: XML External Entity (XXE) Injection in W3CMultiSchemaFactory and EndpointReferenceUtils |
| CVE-2025-48795 | 2025-07-15 | 5.6 | Apache CXF: Denial of Service and sensitive data exposure in logs |
| CVE-2025-23184 | 2025-01-21 | 7.5 | Apache CXF: Denial of Service vulnerability with temporary files |
| CVE-2022-46364 | 2022-12-13 | 9.8 | Apache CXF SSRF Vulnerability |
| CVE-2022-46363 | 2022-12-13 | 7.5 | Apache CXF directory listing / code exfiltration |
| CVE-2017-12624 | 2017-11-14 | 5.5 | same package: org.apache.cxf:cxf-core (Maven) |
| CVE-2016-8739 | 2017-08-10 | 7.5 | same package: org.apache.cxf:cxf-core (Maven) |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2016-6812, or call /api/v1/vulnerabilities/CVE-2016-6812. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.