CVE-2025-54812
NixOS vulnerability analysis and mitigation

Overview

CVE-2025-54812 is an Improper Output Neutralization for Logs vulnerability discovered in Apache Log4cxx. The vulnerability was disclosed on August 22, 2025, affecting all versions of Apache Log4cxx before 1.5.0. The issue occurs when using HTMLLayout, where logger names are not properly escaped when writing out to the HTML file (Apache Advisory).

Technical details

The vulnerability stems from improper HTML escaping in HTMLLayout when handling logger names. When writing to HTML files, the logger names are not properly sanitized, which could allow HTML or JavaScript injection if untrusted data is used in logger names. The vulnerability has been assigned a CVSS 4.0 score of 2.1 LOW with the vector string CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N (NVD).

Impact

The impact of this vulnerability is considered LOW because logger names are generally constant strings. However, if exploited, an attacker could potentially inject HTML or JavaScript code that could hide information from logs or steal data from users who view the generated HTML log file in their browser (Apache Advisory).

Mitigation and workarounds

Users are recommended to upgrade to Apache Log4cxx version 1.5.0, which contains the fix for this vulnerability. The issue was addressed through two pull requests that implement proper escaping of special characters in HTML attributes (Apache Advisory).

Community reactions

The vulnerability was discovered and remediated with support from the Sovereign Tech Agency through the Apache Log4j Bug Bounty Program on YesWeHack, demonstrating the effectiveness of coordinated vulnerability research programs (Apache Advisory).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-14330CRITICAL9.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox:*:*:*:*:esr:*:*:*
NoYesDec 09, 2025
CVE-2025-14329HIGH8.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox_esr
NoYesDec 09, 2025
CVE-2025-14333HIGH8.1
  • NixOSNixOS
  • firefox-esr
NoYesDec 09, 2025
CVE-2025-14332HIGH7.3
  • NixOSNixOS
  • thunderbird
NoYesDec 09, 2025
CVE-2025-14331MEDIUM6.5
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management