{"id":"CVE-2022-45064","aliases":["CVE-2022-45064","GHSA-mg46-f9h5-g27x"],"related":[],"kind":"vulnerability","state":"published","title":"Apache Sling Engine: Include-based XSS","summary":"The SlingRequestDispatcher doesn't correctly implement the RequestDispatcher API resulting in a generic type of include-based cross-site scripting issues on the Apache Sling level. The vulnerability is exploitable by an attacker that is able to include a resource with specific content-type and control the include path (i.e. writing content). The impact of a successful attack is privilege escalation to administrative power.\n\n\n\n\nPlease update to Apache Sling Engine >= 2.14.0 and enable the \"Check Content-Type overrides\" configuration option.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The SlingRequestDispatcher doesn't correctly implement the RequestDispatcher API resulting in a generic type of include-based cross-site scripting issues on the Apache Sling level. The vulnerability is exploitable by an attacker that is able to include a resource with specific content-type and control the include path (i.e. writing content). The impact of a successful attack is privilege escalation to administrative power.\n\n\n\n\nPlease update to Apache Sling Engine >= 2.14.0 and enable the \"Check Content-Type overrides\" configuration option.","source":"cvelist"},{"lang":"en","text":"The SlingRequestDispatcher doesn't correctly implement the RequestDispatcher API resulting in a generic type of include-based cross-site scripting issues on the Apache Sling level. The vulnerability is exploitable by an attacker that is able to include a resource with specific content-type and control the include path (i.e. writing content). The impact of a successful attack is privilege escalation to administrative power.\n\nPlease update to Apache Sling Engine version 2.14.0 or newer and enable the \"Check Content-Type overrides\" configuration option.","format":"markdown","source":"ghsa"}],"published":"2023-04-13T10:01:14.502Z","modified":"2026-06-17T05:09:17.027Z","severity":{"scorer":"apache","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","score":8,"rating":"HIGH"},"severities":[{"scorer":"apache","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","score":8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","score":8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","score":9,"rating":"CRITICAL"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":" ","fixed":"2.14.0","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Sling Engine","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"2.14.0","status":"affected"}],"vendor":"apache","product":"sling","cpe":"cpe:2.3:a:apache:sling:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.14.0"}],"ecosystem":"Maven","package":"org.apache.sling:org.apache.sling.engine","purl":"pkg:maven/org.apache.sling/org.apache.sling.engine","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.14.0"}],"vendor":"apache","product":"apache_sling_engine","cpe":"cpe:2.3:a:apache:apache_sling_engine:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://lists.apache.org/thread/hhp611hltby3whk03vx2mv7cmy3vs0ok","tags":["mailing-list","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2023/04/18/6","tags":["mailing-list","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-45064","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/apache/sling-org-apache-sling-engine","tags":["package"],"sources":["ghsa"]}],"credits":["Lars Krapf"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-10-17T20:29:41.550Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-45064","url":"https://www.cve.org/CVERecord?id=CVE-2022-45064","licence":"CVE Terms of Use","modified":"2024-10-17T20:31:19.485Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mg46-f9h5-g27x","url":"https://github.com/advisories/GHSA-mg46-f9h5-g27x","licence":"CC-BY-4.0","modified":"2023-11-08T04:10:50.021Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-45064","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-45064","licence":"Public domain","modified":"2026-06-17T05:09:17.027Z"}],"updatedAt":"2026-11-25T22:58:19.094Z","epss":{"score":0.01088,"percentile":0.64968,"date":"2026-11-30T12:00:22.000Z"}}