Improper Output Neutralization for Logs vulnerability in Apache Log4cxx. When using HTMLLayout, logger names are not properly escaped when writing out to the HTML file. If untrusted data is used to retrieve the name of a logger, an attacker could theoretically inject HTML or Javascript in order to hide information from logs or steal data from the user. In order to activate this, the following sequence must occur: * Log4cxx is configured to use HTMLLayout. * Logger name comes from an untrusted string * Logger with compromised name logs a message * User opens the generated HTML log file in their browser, leading to potential XSS Because logger names are generally constant strings, we assess the impact to users as LOW This issue affects Apache Log4cxx: before 1.5.0. Users are recommended to upgrade to version 1.5.0, which fixes the issue.
Conclusion & alert: CVE-2025-54812 is rated Low Risk (31.5/100): CVSS Low severity, with medium exploitation likelihood (EPSS 0.49%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-05-18 | 0.36% | 0.49% | +0.13% |
| 2 | 2026-04-27 | 0.29% | 0.36% | +0.07% |
| 3 | 2026-01-30 | — | 0.29% | — |
Full EPSS history (11 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 2.1 | 4.0 | LOW |
|
— | — | [email protected] |
| 5.4 | 3.1 | MEDIUM |
|
2.3 | 2.7 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2025-54812 not yet assigned priority: Debian including 1 source packages (log4cxx), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2025-54812 |
redhat
|
low | — | https://access.redhat.com/security/cve/CVE-2025-54812 |
ubuntu
|
medium | CVE-2025-54812 medium priority: Ubuntu including 1 source packages (log4cxx), 9 status rows across 9 suites (bionic, focal, jammy, noble, plucky, questing, trusty, upstream, xenial): needs-triage 7, ignored 1, released 1. | https://ubuntu.com/security/CVE-2025-54812 |
| URL | Tags |
|---|---|
| https://github.com/apache/logging-log4cxx/pull/509 | Issue Tracking Patch |
| https://github.com/apache/logging-log4cxx/pull/514 | Issue Tracking Patch |
| https://logging.apache.org/security.html#CVE-2025-54812 | Vendor Advisory |
| http://www.openwall.com/lists/oss-security/2025/08/22/2 | |
| https://lists.debian.org/debian-lts-announce/2025/10/msg00002.html |