CVE-2025-54656: Apache Struts Extras Improper Output Neutralization for Logs Vulnerability

Summary

30/07/2025
No i
Moderate
6.5

CVE-2025-54656: Apache Struts Extras Before 2 has an Improper Output Neutralization for Logs Vulnerability. Affects org.apache.struts:struts-extras versions < 1.3.10. No fix is published. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Apache Struts is a popular open-source framework for building web applications in Java. It provides a robust architecture for developing enterprise-level applications, allowing developers to create dynamic web content. The Struts Extras module extends the core functionality of Struts, offering additional features and utilities. However, the Struts Extras package has been found to have a vulnerability that can lead to improper handling of log outputs, potentially exposing sensitive information.

Vulnerability Detail

The vulnerability identified as CVE-2025-54656 is an improper output neutralization for logs in Apache Struts Extras, specifically affecting versions prior to 2. This issue arises when using the LookupDispatchAction, where untrusted input may be printed to the logs without adequate filtering. This can result in specially-crafted input that confuses log consumers by masquerading part of the message as a separate log line. The ramifications include potential information leakage and confusion in log analysis, which can hinder incident response and monitoring efforts.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

To mitigate the risk associated with this vulnerability, restrict access to the application instance to trusted users only. Additionally, consider implementing logging filters to sanitize log outputs and prevent untrusted input from being logged. This can be done by configuring your logging framework to escape or remove sensitive information before it is written to the logs.

Conclusion

The CVE-2025-54656 vulnerability in Apache Struts Extras poses a moderate risk due to improper output neutralization for logs. As the project is no longer maintained, users must take proactive measures by either migrating to supported alternatives or implementing workarounds to mitigate the risks associated with this vulnerability.

See every vulnerability recorded for org.apache.struts:struts-extras →

Share this vulnerability

FAQ

CVE-2025-54656 is a vulnerability in Apache Struts Extras that allows improper output neutralization for logs, potentially leading to information leakage.

All versions of Apache Struts Extras prior to 2 are affected by this vulnerability.

No, there is no patch available as the Apache Struts Extras project is retired. Users are advised to find alternatives.

You can use Vulert, which monitors and alerts for open-source vulnerabilities using just your pom.xml. Visit Vulert Scanner to check if your application is affected.

If upgrading is not an option, restrict access to the application and implement logging filters to sanitize log outputs.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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