In the XSS Protection API module before 1.0.12 in Apache Sling, the method XSS.getValidXML() uses an insecure SAX parser to validate the input string, which allows for XXE attacks in all scripts which use this method to validate user input, potentially allowing an attacker to read sensitive data on the filesystem, perform same-site-request-forgery (SSRF), port-scanning behind the firewall or DoS the application.
Advisories
Source ID Title
EUVD EUVD EUVD-2022-2991 In the XSS Protection API module before 1.0.12 in Apache Sling, the method XSS.getValidXML() uses an insecure SAX parser to validate the input string, which allows for XXE attacks in all scripts which use this method to validate user input, potentially allowing an attacker to read sensitive data on the filesystem, perform same-site-request-forgery (SSRF), port-scanning behind the firewall or DoS the application.
Github GHSA Github GHSA GHSA-7g54-vgp6-jj5w XML External Entity Reference in Apache Sling
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2024-09-16T16:47:49.975Z

Reserved: 2016-08-12T00:00:00

Link: CVE-2016-6798

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2017-07-19T15:29:00.213

Modified: 2025-04-20T01:37:25.860

Link: CVE-2016-6798

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.