CVE-2019-17573: Reflected Cross-Site Scripting in Apache CXF

org.apache.cxf:apache-cxf Updated 02 Oct 2025

Summary

10/06/2020
Yes i
Moderate
6.1

CVE-2019-17573: Reflected Cross-Site Scripting in Apache CXF. Affects org.apache.cxf:apache-cxf across 2 version ranges.

< 3.2.12 >= 3.3.0, < 3.3.5

Fixed in 3.2.12 or 3.3.5, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Apache CXF is an open-source web services framework that allows developers to build and deploy services using various protocols and data formats. It provides a default /services page that lists available endpoint names and addresses. This page is vulnerable to a reflected Cross-Site Scripting (XSS) attack, which enables malicious actors to inject JavaScript code into the webpage. Although modern browsers typically remove dot segments before sending requests, mobile applications may still be vulnerable to this attack.

Vulnerability Detail

The vulnerability in Apache CXF allows for a reflected XSS attack on the default /services page. This means that an attacker can inject malicious JavaScript code into the page, which will be executed by the victim's browser. The impact of this vulnerability can range from unauthorized access to sensitive information to complete takeover of the user's session. It is important to note that this vulnerability has a moderate severity rating (CVSS score of 6.1) and is associated with CWE-79.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 3.2.12 3.2.12
  • >= 3.3.0, < 3.3.5 3.3.5

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

If upgrading to the latest version of Apache CXF is not immediately feasible, a temporary workaround is to disable or remove the /services page from the application. This can be done by modifying the application's configuration or by customizing the CXF servlet to exclude the /services endpoint. Here is an example of how to disable the /services page in a CXF servlet configuration:

<bean id="cxfServlet" class="org.apache.cxf.transport.servlet.CXFServlet">
  <property name="serviceListAvailable" value="false" />
</bean>

Conclusion

In conclusion, the CVE-2019-17573 vulnerability in Apache CXF exposes applications to a reflected XSS attack on the default /services page. It is crucial for developers to upgrade to the latest version of Apache CXF or apply the provided workaround to mitigate the risk. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.apache.cxf:apache-cxf →

Share this vulnerability

FAQ

Apache CXF is an open-source web services framework that allows developers to build and deploy services using various protocols and data formats.

A reflected XSS attack is a type of security vulnerability where an attacker injects malicious code into a website, which is then executed by the victim's browser.

The impact of this vulnerability can range from unauthorized access to sensitive information to complete takeover of the user's session.

To fix this vulnerability, it is recommended to upgrade to Apache CXF version 3.2.12 or higher.

Yes, a temporary workaround is to disable or remove the /services page from the application.

Related vulnerabilities

Recent vulnerabilities recorded for org.apache.cxf:apache-cxf.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 3.2.12 3.2.12
  • >= 3.3.0, < 3.3.5 3.3.5

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback