Improper Output Neutralization Vulnerability in Apache Log4cxx
Key Information:
- Vendor
Apache
- Status
- CVE ID
- CVE ID:
- CVE-2025-54812
- Vendor
- CVE Published:
- 22 August 2025
- Fixed in
- Fixed in:
- 1.5.0
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- Partly: Works over the network, but a user must act
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Monitor
Low risk for most. Patch in your normal cycle.
What to do
1Update to a fixed version
2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach Apache Log4cxx. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Monitor"
- Its CVSS severity is low (2.1).
What is CVE-2025-54812?
An improper output neutralization vulnerability exists in Apache Log4cxx when using HTMLLayout. This issue stems from the improper escaping of logger names, allowing an attacker to inject malicious HTML or JavaScript if the name of a logger is derived from untrusted data. When the compromised logger logs a message, it can lead to Cross-Site Scripting (XSS) attacks if users subsequently open the generated HTML log file in their web browser. Users of Log4cxx should upgrade to version 1.5.0 to mitigate this vulnerability.
References
More Apache Vulnerabilities
Key Exchange Vulnerability in Apache Tomcat
Improper Exception Management in Apache Tomcat Affects Multiple Versions
Deserialization Vulnerability in Apache Roller Affects Multiple Versions
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction