Reflected Cross-Site Scripting in Apache CXF
Apache CXF
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.apache.cxf:apache-cxf Maven |
|
|
| org.apache.cxf:cxf Maven |
|
Apache CXF
| Product | Affected | Fixed in |
|---|---|---|
| org.apache.cxf:apache-cxf Maven |
|
|
| org.apache.cxf:cxf Maven |
|
|
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, which allows a malicious actor to inject javascript into the web page. Please note that the attack exploits a feature which is not typically not present in modern browsers, who remove dot segments before sending the request. However, Mobile applications may be vulnerable.
From the CVE record · apache
Apache CXF's default /services page, which lists endpoint names and addresses, is vulnerable to reflected cross-site scripting. An attacker can inject JavaScript into the page if a client sends a request without removing dot segments; modern browsers typically remove them, but mobile applications may be vulnerable. The input does not specify authentication requirements.
Teams running Maven org.apache.cxf:apache-cxf or org.apache.cxf:cxf versions below 3.2.12 or from 3.3.0 up to but not including 3.3.5 should check their deployments.