MODERATE 6.1

CVE-2026-73192

Apache Sling XSS: XSS possible through XSSAPI.getValidHref()

Preliminary: affected artifacts were inferred from the fix commits of the source repository and have not been reviewed yet. They will be replaced by the reviewed advisory when it is published.

Description

An improper neutralization of input during web page generation ('Cross-site Scripting') [CWE-79] vulnerability when using the XSSAPI.getValidHref() in Apache Sling XSS version 2.4.10 and prior may allow an attacker to perform a reflected cross-site scripting (XSS) attack in every feature using this method. In order to successfully attack an application, the attacker needs to be able to submit a value which is not correctly sanitized by that library.

Upgrade to Apache Sling XSS >= 2.4.12

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.sling » org.apache.sling.xsspreliminary
< 2.4.12
2.4.12

Blast radius

1affected artifacts
43affected versions
187dependent artifacts (est.)
2,408dependent versions

84% of the dependent artifacts (158) still pull an affected version in their latest release.

DepthDependent versions
Direct
311
2 hops
681
3 hops
670
4 hops
449
5 hops
272
6 hops
25

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References

Advisorygithub.com
Advisorynvd.nist.gov
Advisorysling.apache.org
Webopenwall.com