{"id":68667,"date":"2025-08-23T00:31:47","date_gmt":"2025-08-22T21:01:47","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2025-54812-apache-log4cxx-cross-site-scripting-xss\/"},"modified":"2025-08-23T00:31:47","modified_gmt":"2025-08-22T21:01:47","slug":"cve-2025-54812-apache-log4cxx-cross-site-scripting-xss","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2025-54812-apache-log4cxx-cross-site-scripting-xss\/","title":{"rendered":"CVE-2025-54812 &#8211; Apache Log4cxx Cross-Site Scripting (XSS)"},"content":{"rendered":"<p><strong>CVE ID : <\/strong>CVE-2025-54812<br \/>\n<br \/>\n<strong>Published : <\/strong> Aug. 22, 2025, 7:15 p.m. | 1\u00a0hour, 11\u00a0minutes ago<br \/>\n<br \/>\n<strong>Description : <\/strong>Improper Output Neutralization for Logs vulnerability in Apache Log4cxx.<\/p>\n<p>When using HTMLLayout, logger names are not properly escaped when writing out to the HTML file.<br \/>\nIf 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.<br \/>\nIn order to activate this, the following sequence must occur:<\/p>\n<p>  *  Log4cxx is configured to use HTMLLayout.<\/p>\n<p>  *  Logger name comes from an untrusted string<\/p>\n<p>  *  Logger with compromised name logs a message<\/p>\n<p>  *  User opens the generated HTML log file in their browser, leading to potential XSS<\/p>\n<p>Because logger names are generally constant strings, we assess the impact to users as LOW<\/p>\n<p>This issue affects Apache Log4cxx: before 1.5.0.<\/p>\n<p>Users are recommended to upgrade to version 1.5.0, which fixes the issue.<br \/>\n<br \/>\n<strong>Severity:<\/strong> 2.1 | LOW<br \/>\n<br \/>\nVisit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2025-54812 Published : Aug. 22, 2025, 7:15 p.m. | 1\u00a0hour, 11\u00a0minutes ago 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 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-68667","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/68667","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=68667"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/68667\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=68667"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=68667"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=68667"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}