CVE-2016-6798
XML External Entity Reference in Apache Sling
9.8
CRITICAL
CVSS 3.1
EPSS 1.3%
Description
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.
How to fix CVE-2016-6798
To remediate CVE-2016-6798, upgrade the affected package to a fixed version below.
- —upgrade to 1.0.12 or later
- —upgrade to 1.1.0 or later
Is CVE-2016-6798 being exploited?
Low — EPSS is 1.3%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 1.0.12
- from 0, < 1.1.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
References (5)
- ADVISORYnvd.nist.gov/vuln/detail/CVE-2016-6798
- WEBgithub.com/apache/sling-org-apache-sling-xss/commit/de32b144ad2be3367559f6184d560db42a220529
- WEBgithub.com/jensdietrich/xshady-release/tree/main/CVE-2016-6798
- WEBlists.apache.org/thread.html/b72c3a511592ec70729b3ec2d29302b6ce87bbeab62d4745617a6bd0@%3Cdev.sling.apache.org%3E