# CVE-2020-13954: Apache CXF Reflected XSS in the services listing page via the styleSheetPath

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.1
- **CVSS:** 6.1 (v3.1, NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Changed (impact reaches other components); Confidentiality impact: Low; Integrity impact: Low; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 40.87% (percentile 99, 2026-11-26)
- **CWE:** CWE-79
- **Aliases:** GHSA-64x2-gq24-75pv
- **Published:** 2020-11-12T12:45:14.000Z
- **Modified:** 2026-06-17T02:53:59.340Z

## Who should check

- Projects that depend on Maven package org.apache.cxf:apache-cxf (\< 3.3.8)
- Projects that depend on Maven package org.apache.cxf:cxf (\< 3.3.8)
- Anyone running Apache Software Foundation Apache CXF \>= unspecified, \< 3.4.1; \>= unspecified, \< 3.3.8

## Description

By default, Apache CXF creates a /services page containing a listing of the available endpoint names and addresses. This webpage is vulnerable to a reflected Cross-Site Scripting (XSS) attack via the styleSheetPath, which allows a malicious actor to inject javascript into the web page. This vulnerability affects all versions of Apache CXF prior to 3.4.1 and 3.3.8. Please note that this is a separate issue to CVE-2019-17573.

## Affected and fixed versions

- Maven `org.apache.cxf:apache-cxf`: affected \< 3.3.8; fixed 3.3.8, 3.4.1 (osv)
- Maven `org.apache.cxf:cxf`: affected \< 3.3.8; fixed 3.3.8, 3.4.1 (osv)
- Apache Software Foundation Apache CXF: \>= unspecified, \< 3.4.1; \>= unspecified, \< 3.3.8 (cvelist)

## Mitigation

- Upgrade org.apache.cxf:apache-cxf to one of 3.3.8, 3.4.1 (or later in the same release line).
- Upgrade org.apache.cxf:cxf to one of 3.3.8, 3.4.1 (or later in the same release line).
- Vendor workaround: Users of Apache CXF should update to either 3.3.8 or 3.4.1. Alternatively, it is possible to disable the service listing altogether by setting the "hide-service-list-page" servlet parameter to "true".

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2020-13954. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2020-13954.md
Affected: org.apache.cxf:apache-cxf < 3.3.8; org.apache.cxf:cxf < 3.3.8
Fixed in: 3.3.8, 3.4.1

Steps:
1. Search this machine and project for org.apache.cxf:apache-cxf (Maven), org.apache.cxf:cxf (Maven), Apache Software Foundation Apache CXF: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2020-13954 being exploited?

There is no confirmed exploitation: CVE-2020-13954 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 40.87% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2020-13954?

Medium: CVSS 6.1 (v3.1, scored by NVD). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2020-13954?

org.apache.cxf:apache-cxf \< 3.3.8; org.apache.cxf:cxf \< 3.3.8.

### Is there a fix for CVE-2020-13954?

Yes. Fixed in 3.3.8, 3.4.1. Upgrade org.apache.cxf:apache-cxf to one of 3.3.8, 3.4.1 (or later in the same release line). Upgrade org.apache.cxf:cxf to one of 3.3.8, 3.4.1 (or later in the same release line). Vendor workaround: Users of Apache CXF should update to either 3.3.8 or 3.4.1. Alternatively, it is possible to disable the service listing altogether by setting the "hide-service-list-page" servlet parameter to "true".

### How do I check if I'm affected by CVE-2020-13954?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <http://cxf.apache.org/security-advisories.data/CVE-2020-13954.txt.asc?version=1&modificationDate=1605183670659&api=v2>
- vendor: <http://www.openwall.com/lists/oss-security/2020/11/12/2>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2020-13954>
- patch: <https://www.oracle.com/security-alerts/cpujan2021.html>
- patch: <https://www.oracle.com/security-alerts/cpuApr2021.html>
- patch: <https://www.oracle.com/security-alerts/cpuoct2021.html>
- other: <https://lists.apache.org/thread.html/r51fdd73548290b2dfd0b48f7ab69bf9ae064dd100364cd8a15f0b3ec%40%3Cdev.cxf.apache.org%3E>
- other: <https://lists.apache.org/thread.html/rd49aabd984ed540c8ff7916d4d79405f3fa311d2fdbcf9ed307839a6%40%3Ccommits.cxf.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r51fdd73548290b2dfd0b48f7ab69bf9ae064dd100364cd8a15f0b3ec%40%3Cusers.cxf.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r51fdd73548290b2dfd0b48f7ab69bf9ae064dd100364cd8a15f0b3ec%40%3Cannounce.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r81a41a2915985d49bc3ea57dde2018b03584a863878a8532a89f993f%40%3Cusers.cxf.apache.org%3E>
- other: <https://lists.apache.org/thread.html/rec7160382badd3ef4ad017a22f64a266c7188b9ba71394f0d321e2d4%40%3Ccommits.cxf.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r640719c9ce5671f239a6f002c20e14062effe4b318a580b6746aa5ef%40%3Cdev.syncope.apache.org%3E>
- other: <https://security.netapp.com/advisory/ntap-20210513-0010/>
- other: <https://lists.apache.org/thread.html/rfb87e0bf3995e7d560afeed750fac9329ff5f1ad49da365129b7f89e%40%3Ccommits.cxf.apache.org%3E>
- other: <https://www.oracle.com/security-alerts/cpuapr2022.html>
- other: <https://lists.apache.org/thread.html/r51fdd73548290b2dfd0b48f7ab69bf9ae064dd100364cd8a15f0b3ec@%3Cannounce.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r51fdd73548290b2dfd0b48f7ab69bf9ae064dd100364cd8a15f0b3ec@%3Cdev.cxf.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r51fdd73548290b2dfd0b48f7ab69bf9ae064dd100364cd8a15f0b3ec@%3Cusers.cxf.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r640719c9ce5671f239a6f002c20e14062effe4b318a580b6746aa5ef@%3Cdev.syncope.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r81a41a2915985d49bc3ea57dde2018b03584a863878a8532a89f993f@%3Cusers.cxf.apache.org%3E>
- other: <https://lists.apache.org/thread.html/rd49aabd984ed540c8ff7916d4d79405f3fa311d2fdbcf9ed307839a6@%3Ccommits.cxf.apache.org%3E>
- other: <https://lists.apache.org/thread.html/rec7160382badd3ef4ad017a22f64a266c7188b9ba71394f0d321e2d4@%3Ccommits.cxf.apache.org%3E>
- other: <https://lists.apache.org/thread.html/rfb87e0bf3995e7d560afeed750fac9329ff5f1ad49da365129b7f89e@%3Ccommits.cxf.apache.org%3E>
- other: <https://security.netapp.com/advisory/ntap-20210513-0010>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2020-13954>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-64x2-gq24-75pv> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2020-13954> · JSON: <https://flawdb.com/api/v1/entries/CVE-2020-13954>
