Apache CXF Reflected XSS in the services listing page via the styleSheetPath
Apache Software Foundation Apache CXF
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.apache.cxf:apache-cxf Maven |
|
|
| org.apache.cxf:cxf Maven |
|
Apache Software Foundation Apache CXF
| Product | Affected | Fixed in |
|---|---|---|
| org.apache.cxf:apache-cxf Maven |
|
|
| org.apache.cxf:cxf Maven |
|
3.3.83.4.1By 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.
From the CVE record · apache
Apache CXF’s default /services page is vulnerable to reflected cross-site scripting through the styleSheetPath parameter. An attacker can inject JavaScript into the page when a user opens a crafted /services URL.
Teams running Maven packages org.apache.cxf:apache-cxf or org.apache.cxf:cxf on versions before 3.3.8, or from 3.4.0 up to but not including 3.4.1, should check their deployments.