Advisory

DEBIAN-CVE-2025-54812

Also known as: CVE-2025-54812

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 5.4, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Dates

Published
2025-08-22 19:15 UTC
Modified
2026-09-01 20:05 UTC

Affected packages and fixes

log4cxx

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 1.0.0-1+deb12u1 (ecosystem)

Fixed versions

1.0.0-1+deb12u1

Fix

  • Fixed version 1.0.0-1+deb12u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

log4cxx

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 1.4.0-1+deb13u1 (ecosystem)

Fixed versions

1.4.0-1+deb13u1

Fix

  • Fixed version 1.4.0-1+deb13u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

log4cxx

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 1.4.0-1.1 (ecosystem)

Fixed versions

1.4.0-1.1

Fix

  • Fixed version 1.4.0-1.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences