Home / Apache Software Foundation / Apache CXF / CVE-2016-6812
CVE-2016-6812: is it exploited, and which versions of Apache Software Foundation Apache CXF are affected and fixed?
CVE-2016-6812 is a cross-site scripting (XSS) vulnerability in Apache Software Foundation Apache CXF. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 06:38 UTC). Affected: org.apache.cxf:cxf-core before 3.0.12 and org.apache.cxf:cxf-core from 3.1.0 before 3.1.9 (GitHub advisory GHSA-vw2c-5wph-v92r). Fixed in 3.0.12 and 3.1.9 (GitHub advisory GHSA-vw2c-5wph-v92r). Severity: Medium (6.1, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 06:38 UTC, CVE record November 19, 2026, 07:18 UTC and NVD November 19, 2026, 08:39 UTC.
What is 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.
From the CVE record by apache, last updated September 17, 2024, 00:51 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache CXF | prior to 3.0.12 3.1.x prior to 3.1.9 |
As the CVE record by apache states it, last updated September 17, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.apache.cxf:cxf-core | < 3.0.12 | 3.0.12 | GHSA-vw2c-5wph-v92r |
| Maven | org.apache.cxf:cxf-core | >= 3.1.0, < 3.1.9 | 3.1.9 | GHSA-vw2c-5wph-v92r |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated December 21, 2023. Summary: Improper Neutralization of Input During Web Page Generation in Apache CXF.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | cxf | through 3.0.11 | application |
| apache | cxf | 3.1.0 | application |
| apache | cxf | 3.1.1 | application |
| apache | cxf | 3.1.2 | application |
| apache | cxf | 3.1.3 | application |
| apache | cxf | 3.1.4 | application |
| apache | cxf | 3.1.5 | application |
| apache | cxf | 3.1.6 | application |
| apache | cxf | 3.1.7 | application |
| apache | cxf | 3.1.8 | application |
NVD analysis (status Modified), last modified June 17, 2026, 00:51 UTC.
How severe is CVE-2016-6812?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.1 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | NVD |
| Medium 4.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2016-6812 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 7.55% probability of exploitation activity in the next 30 days, percentile 94.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- RHSA-2017:0868 vendor-advisory, x_refsource_REDHAT
- http://cxf.apache.org/security-advisories.data/CVE-2016-6812.txt.asc x_refsource_CONFIRM
- 1037543 vdb-entry, x_refsource_SECTRACK
- https://issues.apache.org/jira/browse/CXF-6216 x_refsource_CONFIRM
- 97582 vdb-entry, x_refsource_BID
- [cxf-commits] 20200116 svn commit: r1055336 - in /websites/production/cxf/content: cache/main.pageCache security-advisories.data/CVE-2019-12423.txt.asc security mailing-list, x_refsource_MLIST
- [cxf-commits] 20200319 svn commit: r1058035 - in /websites/production/cxf/content: cache/main.pageCache security-advisories.data/CVE-2019-17573.txt.asc security mailing-list, x_refsource_MLIST
- [cxf-commits] 20200401 svn commit: r1058573 - in /websites/production/cxf/content: cache/main.pageCache index.html security-advisories.data/CVE-2020-1954.txt.as mailing-list, x_refsource_MLIST
- [cxf-commits] 20201112 svn commit: r1067927 - in /websites/production/cxf/content: cache/main.pageCache security-advisories.data/CVE-2020-13954.txt.asc security mailing-list, x_refsource_MLIST
- [cxf-commits] 20210402 svn commit: r1073270 - in /websites/production/cxf/content: cache/main.pageCache security-advisories.data/CVE-2021-22696.txt.asc security mailing-list, x_refsource_MLIST
- [cxf-commits] 20210616 svn commit: r1075801 - in /websites/production/cxf/content: cache/main.pageCache index.html security-advisories.data/CVE-2021-30468.txt.a mailing-list, x_refsource_MLIST
When was it published, and where is the official record?
- Reserved
- August 12, 2016
- Published
- August 10, 2017, 16:00 UTC
- CVE record updated
- September 17, 2024, 00:51 UTC by apache
- NVD
- Modified, last modified June 17, 2026, 00:51 UTC
- Last checked
- CVE list November 19, 2026, 07:18 UTC; NVD November 19, 2026, 08:39 UTC; KEV December 3, 2026, 06:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Apache CXF?
- Oct 9, 2026CVE-2026-108039 Apache Software Foundation Apache CXF: XML entity expansion (billion laughs)
- Oct 9, 2026CVE-2026-107938 Apache Software Foundation Apache CXF: certificate host not checked
- Oct 9, 2026CVE-2026-107937 Apache Software Foundation Apache CXF: denial of service (resources allocated without limits)
- Oct 9, 2026CVE-2026-100227 Apache Software Foundation Apache CXF: race condition
- Oct 9, 2026CVE-2026-97791 Apache Software Foundation Apache CXF: race condition
- Oct 9, 2026CVE-2026-97468 Apache Software Foundation Apache CXF: use of Weak Hash
- Oct 9, 2026CVE-2026-86463 Apache Software Foundation Apache CXF: denial of service (uncontrolled resource consumption)
- Oct 9, 2026CVE-2026-79650 Apache Software Foundation Apache CXF: open redirect
Questions about CVE-2016-6812
Is CVE-2016-6812 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 06:38 UTC. FIRST's EPSS gives it a 7.55% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Apache Software Foundation Apache CXF are affected by CVE-2016-6812?
org.apache.cxf:cxf-core before 3.0.12 and org.apache.cxf:cxf-core from 3.1.0 before 3.1.9, per the GitHub advisory GHSA-vw2c-5wph-v92r. The tables above give every range the sources list.
Which version fixes CVE-2016-6812?
3.0.12 and 3.1.9, per the GitHub advisory GHSA-vw2c-5wph-v92r. Check the vendor's advisory before you rely on it.
How severe is CVE-2016-6812?
Medium (6.1, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2016-6812?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.