Skip to content
OpenAdvisories
High · 8.0 CVE-2022-45064 EUVD-2023-1351GHSA-mg46-f9h5-g27x

Apache Sling Engine: Include-based XSS

Published Apr 13, 2023 · Updated Oct 17, 2024 · Assigned by apache

Description

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.

Please update to Apache Sling Engine >= 2.14.0 and enable the "Check Content-Type overrides" configuration option.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache Sling Engine – < 2.14.0 2.14.0

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.sling:org.apache.sling.engine < 2.14.0 2.14.0 GHSA-mg46-f9h5-g27x

Advisories 1

References