CVE Database›Document archive›CVE-2025-54812

CVE-2025-54812

log4cxx: Log4cxx HTMLLayout XSS Vulnerability

Loading…

Severity

Low

Red Hat Product Security

5.4

CVSS 3.1

Review impact separately from score.

Published · August 23, 2025

Updated · June 28, 2026

Description

A flaw was found in log4cxx. When using HTMLLayout, logger names are not properly escaped. This vulnerability allows an attacker to provide untrusted data as a logger name to inject arbitrary HTML content into log output files. This issue can lead to cross-site scripting vulnerabilities if the HTML log files are subsequently viewed in a web browser.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

CVSS / CWE

CVSS 3.1 · 5.4
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

CWE-117 · Improper Output Neutralization for Logs