CVE-2006-1546: Apache Struts Improper Input Validation

struts:struts Updated 02 Oct 2025

Summary

01/05/2022
Yes i
High
7.3

CVE-2006-1546: Apache Struts vulnerable to Improper Input Validation. Affects struts:struts versions < 1.2.9. Fixed in 1.2.9. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Apache Struts is a popular open-source framework for developing Java web applications. It provides a set of tools and libraries to simplify the development process and enhance the security of web applications. However, prior to version 1.2.9, Apache Struts is vulnerable to an Improper Input Validation issue. This vulnerability allows remote attackers to bypass validation by sending a request with a specific parameter, leading to potential security breaches in applications that do not use the isCancelled check.

Vulnerability Detail

The vulnerability in Apache Struts arises from a flaw in the validation process. By including a 'org.apache.struts.taglib.html.Constants.CANCEL' parameter in a request, an attacker can cancel the action without detection in applications that do not utilize the isCancelled check. This can lead to unauthorized access, data manipulation, or other malicious activities. The severity of this vulnerability is rated as HIGH with a CVSS score of 7.3.

How To Fix

Latest published version: 1.2.9 as of 23 Oct 2026

The newest release already contains this fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If upgrading to the latest version of Apache Struts is not immediately feasible, a temporary workaround is to manually implement the isCancelled check in the affected applications. By explicitly checking for the 'org.apache.struts.taglib.html.Constants.CANCEL' parameter and canceling the action if present, the vulnerability can be mitigated. Here is an example of how to implement the workaround in Java:

if (request.getParameter("org.apache.struts.taglib.html.Constants.CANCEL") != null) {
    // Cancel the action
}

Conclusion

In conclusion, Apache Struts versions prior to 1.2.9 are vulnerable to an Improper Input Validation issue. This vulnerability can be mitigated by upgrading to the latest version of Apache Struts and ensuring the correct implementation of the isCancelled check. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for struts:struts →

Share this vulnerability

FAQ

Apache Struts is an open-source framework for developing Java web applications. It provides a set of tools and libraries to simplify the development process and enhance the security of web applications.

This vulnerability allows remote attackers to bypass validation in Apache Struts, potentially leading to unauthorized access, data manipulation, or other malicious activities.

To fix this vulnerability, it is recommended to upgrade Apache Struts to version 1.2.9 or later. Developers should also ensure that the isCancelled check is implemented correctly in their applications.

Yes, a temporary workaround is to manually implement the isCancelled check in the affected applications. By checking for the 'org.apache.struts.taglib.html.Constants.CANCEL' parameter and canceling the action if present, the vulnerability can be mitigated.

The severity of this vulnerability is rated as HIGH with a CVSS score of 7.3.

Related vulnerabilities

Recent vulnerabilities recorded for struts:struts.

How To Fix

Latest published version: 1.2.9 as of 23 Oct 2026

The newest release already contains this fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback