{"id":"CVE-2020-13954","published":"2020-11-12T12:45:14Z","modified":"2025-02-13T16:27:30Z","title":"Apache CXF Reflected XSS in the services listing page via the styleSheetPath","vendor":"Apache","product":"Apache CXF","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.40873,"percentile":0.98689,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"http://cxf.apache.org/security-advisories.data/CVE-2020-13954.txt.asc?version=1&modificationDate=1605183670659&api=v2","tags":["x_refsource_MISC"]},{"url":"https://lists.apache.org/thread.html/r51fdd73548290b2dfd0b48f7ab69bf9ae064dd100364cd8a15f0b3ec%40%3Cdev.cxf.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/rd49aabd984ed540c8ff7916d4d79405f3fa311d2fdbcf9ed307839a6%40%3Ccommits.cxf.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r51fdd73548290b2dfd0b48f7ab69bf9ae064dd100364cd8a15f0b3ec%40%3Cusers.cxf.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.openwall.com/lists/oss-security/2020/11/12/2","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r51fdd73548290b2dfd0b48f7ab69bf9ae064dd100364cd8a15f0b3ec%40%3Cannounce.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r81a41a2915985d49bc3ea57dde2018b03584a863878a8532a89f993f%40%3Cusers.cxf.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://www.oracle.com/security-alerts/cpujan2021.html","tags":["x_refsource_MISC"]},{"url":"https://lists.apache.org/thread.html/rec7160382badd3ef4ad017a22f64a266c7188b9ba71394f0d321e2d4%40%3Ccommits.cxf.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r640719c9ce5671f239a6f002c20e14062effe4b318a580b6746aa5ef%40%3Cdev.syncope.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://www.oracle.com/security-alerts/cpuApr2021.html","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20210513-0010/","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.apache.org/thread.html/rfb87e0bf3995e7d560afeed750fac9329ff5f1ad49da365129b7f89e%40%3Ccommits.cxf.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://www.oracle.com/security-alerts/cpuoct2021.html","tags":["x_refsource_MISC"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":["x_refsource_MISC"]}],"priority":{"score":19.7,"factors":[{"name":"EPSS percentile","points":19.74}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache CXF","versions":[">= unspecified, < 3.4.1",">= unspecified, < 3.3.8"]}],"workarounds":{"items":["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\"."],"from":"CVE.org CNA","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.apache.cxf:apache-cxf","vulnerableRanges":["<3.3.8",">=3.4.0, <3.4.1"],"patched":["3.3.8","3.4.1"],"from":["GHSA-64x2-gq24-75pv"],"provenance":"source"},{"ecosystem":"Maven","package":"org.apache.cxf:cxf","vulnerableRanges":["<3.3.8",">=3.4.0, <3.4.1"],"patched":["3.3.8","3.4.1"],"from":["GHSA-64x2-gq24-75pv"],"provenance":"source"}],"summary":{"text":"A reflected cross-site scripting flaw exists in the /services listing page that Apache CXF generates by default, where the styleSheetPath parameter is not properly neutralised before being rendered in the page. An attacker who can get a user to open a crafted link could inject JavaScript that runs in the victim's browser within the page's context, with the attack requiring user interaction and no prior authentication.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:38:03Z"},"euvd":{"id":"EUVD-2021-0770","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2019-12419","published":"2019-11-06","fixed":"3.3.4","kev":false},{"cve":"CVE-2019-12423","published":"2020-01-16","fixed":"3.3.5","kev":false,"link":{"from":"CVE-2019-12423","to":"CVE-2020-13954","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.cxf:cxf","fromFixed":"3.3.5","toFixed":"3.3.8","daysApart":301},{"kind":"version-step","provenance":"source","package":"Maven:org.apache.cxf:apache-cxf","fromFixed":"3.3.5","toFixed":"3.3.8","daysApart":301}]}},{"cve":"CVE-2019-17573","published":"2020-01-16","fixed":"3.3.5","kev":false},{"cve":"CVE-2020-13954","published":"2020-11-12","fixed":"3.4.1","kev":false},{"cve":"CVE-2021-22696","published":"2021-04-02","fixed":"3.4.3","kev":false,"link":{"from":"CVE-2020-13954","to":"CVE-2021-22696","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.cxf:cxf","fromFixed":"3.4.1","toFixed":"3.4.3","daysApart":141},{"kind":"version-step","provenance":"source","package":"Maven:org.apache.cxf:apache-cxf","fromFixed":"3.4.1","toFixed":"3.4.3","daysApart":141}]}},{"cve":"CVE-2021-30468","published":"2021-06-16","fixed":"3.4.4","kev":false}],"package":"Maven:org.apache.cxf:cxf"}}