Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › News › Apache

Advisory Low CVE Analysis

Ubuntu Notice USN-9358-1 Patches Several Apache Log4cxx Flaws Including CVE-2025-54812 and CVE-2025-54813

The Ubuntu Security Notice USN-9358-1 covers several fixed issues in Apache Log4cxx, including two logging flaws tracked as CVE-2025-54812 and CVE-2025-54813.

ApacheWebVulnerabilities

Key points

  • USN-9358-1 covers several fixed security issues in Apache Log4cxx.
  • CVE-2025-54812 concerns HTMLLayout not escaping logger names, which may enable cross-site scripting when untrusted data is used as a logger name.
  • CVE-2025-54813 concerns JSONLayout not escaping certain non-printable characters, which could lead log-consuming applications to misread entries.
  • According to the notice, the JSONLayout issue affects only Ubuntu 22.04 LTS and 24.04 LTS.

The Ubuntu Security Notice USN-9358-1 describes several security issues fixed in Apache Log4cxx, a logging library. According to the notice, one flaw, tracked as CVE-2025-54812, involves the HTMLLayout component, which does not escape logger names. If an application supplies untrusted data as a logger name, the notice says cross-site scripting may be possible against a person who opens the generated HTML log file. A second flaw, tracked as CVE-2025-54813, involves the JSONLayout component, which does not escape certain non-printable characters. The notice says this could cause applications that read these logs to misinterpret the logged information. According to the notice, the JSONLayout issue affects only Ubuntu 22.04 LTS and Ubuntu 24.04 LTS. Per the notice, a regular system upgrade delivers the changes, and installing the package versions it lists resolves the problem. The exact package versions are not repeated in this summary and should be taken from the original notice.

What to do

  1. Apply the standard system update that carries the package versions listed in USN-9358-1.
  2. Check the original Ubuntu notice for the exact fixed package versions, which are not stated in this summary.

Our article, written with AI assistance from the facts of the original report and the official vulnerability data below. Read the original for full details.

Original report

Ubuntu USNubuntu.com

“USN-9358-1: Apache Log4cxx vulnerabilities”

It was discovered that Apache Log4cxx did not properly escape logger names when using HTMLLayout. If an application used untrusted data as a logger name, an attacker could possibly use this issue to perform cross-site scripting attacks when a user viewed the generated HTML log file. (CVE-2025-54812) It was discovered that Apache Log4cxx did not properly escape certain non-printable characters whe…

Vulnerabilities mentioned

More on this topic