CVE-2008-2025 Apache Struts Cross-site Scripting vulnerability

Medium 4.3 Published Updated

Remote attackers can inject arbitrary web script or HTML via insufficient parameter quoting in Apache Struts, requiring user interaction to execute.

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-2008-2025?

CVE-2008-2025 is a medium-severity cross-site scripting vulnerability in Apache Struts, published on 9 Apr 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

Cross-site scripting (XSS) vulnerability in Apache Struts before 1.2.9-162.31.1 on SUSE Linux Enterprise (SLE) 11, before 1.2.9-108.2 on SUSE openSUSE 10.3, before 1.2.9-198.2 on SUSE openSUSE 11.0, and before 1.2.9-162.163.2 on SUSE openSUSE 11.1 allows remote attackers to inject arbitrary web script or HTML via unspecified vectors related to "insufficient quoting of parameters."

Weakness: CWE-79

Which versions are affected by CVE-2008-2025?

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

PackageAffectedFixed in
struts:struts MavenAll versions1.2.9-162.31.1
struts:struts MavenAll versions1.2.9-162.31.1

Products include Apache Struts.

How do I fix CVE-2008-2025?

Upgrade struts:struts to 1.2.9-162.31.1 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-2008-2025 being exploited?

There is no known exploitation of CVE-2008-2025 in the wild and no public exploit code.

All Apache Struts vulnerabilities

Sources

Also known as GHSA-wcgx-2hvx-5cwr.

Is CVE-2008-2025 in your software?

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

Check your SBOMs for free