CVE-2009-0026 Apache Jackrabbit contains Cross-site Scripting

Medium 4.3 Published Updated

Remote attackers can inject arbitrary web script or HTML via the q parameter in search.jsp or swr.jsp, potentially compromising user sessions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2009-0026?

CVE-2009-0026 is a medium-severity cross-site scripting vulnerability in n/a, published on 21 Jan 2009. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Multiple cross-site scripting (XSS) vulnerabilities in Apache Jackrabbit before 1.5.2 allow remote attackers to inject arbitrary web script or HTML via the q parameter to (1) search.jsp or (2) swr.jsp.

Weakness: CWE-79

Which versions are affected by CVE-2009-0026?

2 open source packages ship an affected version, including org.apache.jackrabbit:jackrabbit. It affects 1 product.

PackageAffectedFixed in
org.apache.jackrabbit:jackrabbit MavenAll versions1.5.2
org.apache.jackrabbit:jackrabbit MavenAll versions1.5.2

Products include Apache Jackrabbit.

How do I fix CVE-2009-0026?

Upgrade org.apache.jackrabbit:jackrabbit to 1.5.2 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2009-0026 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2009-0026 exists.

Public exploit code: 2 Exploit-DB entries.

Sources

Also known as GHSA-6fxv-38xc-h866.

Is CVE-2009-0026 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free