Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.sling/org.apache.sling.engine
  4. ›
  5. CVE-2022-45064

CVE-2022-45064: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

April 13, 2023 (updated April 18, 2023)

The SlingRequestDispatcher does not 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.

References

  • www.openwall.com/lists/oss-security/2023/04/18/6
  • github.com/advisories/GHSA-mg46-f9h5-g27x
  • lists.apache.org/thread/hhp611hltby3whk03vx2mv7cmy3vs0ok
  • nvd.nist.gov/vuln/detail/CVE-2022-45064

Code Behaviors & Features

Detect and mitigate CVE-2022-45064 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.14.0

Fixed versions

  • 2.14.0

Solution

Upgrade to version 2.14.0 or above.

Impact 9 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

maven/org.apache.sling/org.apache.sling.engine/CVE-2022-45064.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:57 +0000.