CWE-Bench-Java / advisory /apache__sling-org-apache-sling-xss_CVE-2016-5394_1.0.8.json
claire71's picture
add advisory .json files
f091478 verified
raw
history blame
2.25 kB
{
"schema_version": "1.4.0",
"id": "GHSA-xwf4-88xr-hx2j",
"modified": "2022-11-03T19:12:07Z",
"published": "2022-05-13T01:25:29Z",
"aliases": [
"CVE-2016-5394"
],
"summary": "Cross site scripting in Apache Sling",
"details": "In the XSS Protection API module before 1.0.12 in Apache Sling, the encoding done by the XSSAPI.encodeForJSString() method is not restrictive enough and for some input patterns allows script tags to pass through unencoded, leading to potential XSS vulnerabilities.",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"package": {
"ecosystem": "Maven",
"name": "org.apache.sling:org.apache.sling.xss"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.0.12"
}
]
}
]
},
{
"package": {
"ecosystem": "Maven",
"name": "org.apache.sling:org.apache.sling.xss.compat"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.1.0"
}
]
}
]
}
],
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2016-5394"
},
{
"type": "WEB",
"url": "https://github.com/apache/sling-org-apache-sling-xss/commit/de32b144ad2be3367559f6184d560db42a220529"
},
{
"type": "WEB",
"url": "https://github.com/jensdietrich/xshady-release/tree/main/CVE-2016-5394"
},
{
"type": "WEB",
"url": "https://lists.apache.org/thread.html/332166037a54b97cf41e2b616aaed38439de94b19b204841478e4525@%3Cdev.sling.apache.org%3E"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/99870"
}
],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "MODERATE",
"github_reviewed": true,
"github_reviewed_at": "2022-11-03T19:12:07Z",
"nvd_published_at": "2017-07-19T15:29:00Z"
}
}