CVE-2016-6812 json
Improper Neutralization of Input During Web Page Generation in Apache CXF
published 2017-08-10 9 y ago modified 2026-06-17 4 mo ago also GHSA-vw2c-5wph-v92r , EUVD-2022-5439
- cvss
- 6.1
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 7.5%
- EPSS 7.5% chance of exploitation in 30 days, percentile 94%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.apache.cxf:cxf-core 3.0.12, 3.1.9
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2016-6812 updated cvss 6.1
apache-cxf: XSS in Apache CXF FormattedServiceListWriter
-
Red Hat BPM Suite 6 cxfaffected: no fix available
-
Red Hat JBoss BRMS 5 cxfaffected: no fix planned “Will not fix”
-
Red Hat JBoss BRMS 6 cxfaffected: no fix available
-
Red Hat JBoss Data Grid 6 cxf Red Hat JBoss Enterprise Application Platform 5 cxfaffected: no fix planned “Will not fix”
-
Red Hat JBoss Fuse 6 cxfaffected: no fix available
-
Red Hat JBoss Portal 6 cxf Red Hat JBoss SOA Platform 5 cxfaffected: no fix planned “Will not fix”
-
Red Hat OpenShift Enterprise 2 cxfunder investigation
-
Red Hat JBoss A-MQ 6.3 Red Hat JBoss Fuse 6.3fixed: vendor fix RHSA-2017:0868
show 1 moreshow fewer
-
Red Hat JBoss Data Virtualization 6 cxf Red Hat JBoss Enterprise Application Platform 6 cxf Red Hat JBoss Enterprise Application Platform 7 cxf Red Hat JBoss Fuse Service Works 6 cxf Red Hat JBoss Operations Network 3 cxf Red Hat Single Sign-On 7 cxfnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
7.55% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.cxf:cxf-core | <3.0.12 >=3.1.0, <3.1.9 |
3.0.12 3.1.9 |
Affected products
- Apache Software Foundation Apache CXF
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
cxf.apache.org
/security-advisories.data/CVE-2016-6812.txt.asc
web, patch, vendor-advisory
-
github.com
/apache/cxf/commit/1be97cb13aef121b799b1be4d9793c0e8b925a12
web
-
github.com
/apache/cxf/commit/1f824d8039c7a42a4aa46f844e6c800e1143c7e7
web
-
github.com
/apache/cxf/commit/32e89366e2daa5670ac7a5c5c19f0bf9329a4c1e
web
-
github.com
/apache/cxf/commit/a30397b0
web
-
access.redhat.com
/errata/RHSA-2017:0868
vendor-advisory, web
-
issues.apache.org
/jira/browse/CXF-6216
web, issue-tracking, vendor-advisory
-
securitytracker.com
/id/1037543
vdb-entry, third-party-advisory
-
securityfocus.com
/bid/97582
vdb-entry, third-party-advisory
-
lists.apache.org
/thread.html/rc774278135816e7afc943dc9fc78eb0764f2c84a2b96470a0187315c%40%3Ccommits.cxf.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r36e44ffc1a9b365327df62cdfaabe85b9a5637de102cea07d79b2dbf%40%3Ccommits.cxf.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/rff42cfa5e7d75b7c1af0e37589140a8f1999e578a75738740b244bd4%40%3Ccommits.cxf.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/rd49aabd984ed540c8ff7916d4d79405f3fa311d2fdbcf9ed307839a6%40%3Ccommits.cxf.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/rec7160382badd3ef4ad017a22f64a266c7188b9ba71394f0d321e2d4%40%3Ccommits.cxf.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/rfb87e0bf3995e7d560afeed750fac9329ff5f1ad49da365129b7f89e%40%3Ccommits.cxf.apache.org%3E
mailing-list
-
nvd.nist.gov
/vuln/detail/CVE-2016-6812
advisory
-
github.com
/apache/cxf
web
-
lists.apache.org
/thread.html/r36e44ffc1a9b365327df62cdfaabe85b9a5637de102cea07d79b2dbf@%3Ccommits.cxf.apache.org%3E
web
-
lists.apache.org
/thread.html/rc774278135816e7afc943dc9fc78eb0764f2c84a2b96470a0187315c@%3Ccommits.cxf.apache.org%3E
web
-
lists.apache.org
/thread.html/rd49aabd984ed540c8ff7916d4d79405f3fa311d2fdbcf9ed307839a6@%3Ccommits.cxf.apache.org%3E
web
-
lists.apache.org
/thread.html/rec7160382badd3ef4ad017a22f64a266c7188b9ba71394f0d321e2d4@%3Ccommits.cxf.apache.org%3E
web
-
lists.apache.org
/thread.html/rfb87e0bf3995e7d560afeed750fac9329ff5f1ad49da365129b7f89e@%3Ccommits.cxf.apache.org%3E
web
-
lists.apache.org
/thread.html/rff42cfa5e7d75b7c1af0e37589140a8f1999e578a75738740b244bd4@%3Ccommits.cxf.apache.org%3E
web
Sources
- CVE List CVE-2016-6812
- GitHub Advisory GHSA-vw2c-5wph-v92r
- NVD CVE-2016-6812
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.