Security mailing lists by PureSourceCode

CVE-2016-6798

CRITICAL 9.8CVSS 3.0

XML External Entity Reference in Apache Sling

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.

Published
19 Jul 2017
Last modified
17 Jun 2026
Assigned by
security@apache.org
NVD status
Modified
Weakness
CWE-611
Also known as
GHSA-7g54-vgp6-jj5w
Sources
NVDJSONOSV GHSA-7g54-vgp6-jj5wJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.0 CRITICAL 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.0 CRITICAL 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD apache sling
cpe:2.3:a:apache:sling:*:*:*:*:*:*:*:*
<= 1.0.10
OSV Maven org.apache.sling:org.apache.sling.xss < 1.0.12 1.0.12
OSV Maven org.apache.sling:org.apache.sling.xss.compat < 1.1.0 1.1.0

References

History

  • 25 Nov 2026 20:20 UTC · NVD: first stored (published 19 Jul 2017)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 17 May 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.