CVE-2025-54812
published low CVSS 4.0 · 2.1Apache Log4cxx: Improper HTML escaping in HTMLLayout
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | Apache Log4cxx0 to < 1.5.0 · Other versions: unaffected | Affected | Not stated | apache |
| Amazon Linux | AL2 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| Debian | bullseye | log4cxx | Advisory build | 0.11.0-2+deb11u1 | DLA-4322-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liblog4cxx-develaarch64 | Advisory build | 1.5.0-1.1 | OPENSUSE-SU-2025:15549-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liblog4cxx-develppc64le | Advisory build | 1.5.0-1.1 | OPENSUSE-SU-2025:15549-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liblog4cxx-devels390x | Advisory build | 1.5.0-1.1 | OPENSUSE-SU-2025:15549-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liblog4cxx-develx86_64 | Advisory build | 1.5.0-1.1 | OPENSUSE-SU-2025:15549-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liblog4cxx15aarch64 | Advisory build | 1.5.0-1.1 | OPENSUSE-SU-2025:15549-1 |
Show 3 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | liblog4cxx15ppc64le | Advisory build | 1.5.0-1.1 | OPENSUSE-SU-2025:15549-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liblog4cxx15s390x | Advisory build | 1.5.0-1.1 | OPENSUSE-SU-2025:15549-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liblog4cxx15x86_64 | Advisory build | 1.5.0-1.1 | OPENSUSE-SU-2025:15549-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.1 / 10
- Severity
- low
- Provider
- apache · cna
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Log4cxx | 0 to < 1.5.0 (affected · semver)Default: unaffected | apache · cna |
Weaknesses
1- CWE-117 CWE-117 Improper Output Neutralization for Logs
References
5Provider assertions
3apache · cna
Apache Log4cxx: Improper HTML escaping in HTMLLayout
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8a998a0817691f85c6e8c5581d91531740c1494e4204aa6560ddfbc6ed4e285e
- Ingested
- 23 Sep 2026, 08:53:16 UTC
- Source record
- Official CVE record