CVE-2016-6812Apache Cxf
Medium 6.1 No auth needed
Follow: this CVE · Apache · Apache Cxf We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.0
- 6.1
- EPSS
- 7.5% probability of exploitation in 30 days · percentile 95
- Auth required
- No
- Published
- Aug 10, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Cxf.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.cxf:cxf-core |
< 3.0.12 |
3.0.12 |
— |
| Maven | org.apache.cxf:cxf-core |
≥ 3.1.0 < 3.1.9 |
3.1.9 |
— |
Per OSV / GitHub Advisories (GHSA-vw2c-5wph-v92r). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | cxf | ≤ 3.0.11 |
| apache | cxf | 3.1.0 |
| apache | cxf | 3.1.1 |
| apache | cxf | 3.1.2 |
| apache | cxf | 3.1.3 |
| apache | cxf | 3.1.4 |
| apache | cxf | 3.1.5 |
| apache | cxf | 3.1.6 |
| apache | cxf | 3.1.7 |
| apache | cxf | 3.1.8 |
Official sources
References
Links published by the sources. Open them with care.
- cxf.apache.org Patch Vendor Advisory
- www.securityfocus.com Third Party Advisory VDB Entry
- www.securitytracker.com Third Party Advisory VDB Entry
- access.redhat.com
- issues.apache.org Issue Tracking Vendor Advisory
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org