CVE-2025-54812 (CNNVD-202508-2686)
中文标题:
Apache Log4cxx 安全漏洞
英文标题:
Apache Log4cxx: Improper HTML escaping in HTMLLayout
漏洞描述
中文描述:
Apache Log4cxx是美国阿帕奇(Apache)基金会的一个以 Apache log4j 为模式的 C++ 日志框架。 Apache Log4cxx 1.5.0之前版本存在安全漏洞,该漏洞源于HTMLLayout未正确转义记录器名称,可能导致跨站脚本攻击。
英文描述:
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.
CWE类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| Apache Software Foundation | Apache Log4cxx | - | < 1.5.0 | - |
cpe:2.3:a:apache_software_foundation:apache_log4cxx:*:*:*:*:*:*:*:*
|
| apache | log4cxx | * | - | - |
cpe:2.3:a:apache:log4cxx:*:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
CVSS评分详情
4.0 (cna)
LOWCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
时间信息
利用信息
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| CVE | cve_CVE-2025-54812 |
2025-11-11 15:23:29 | 2025-11-11 07:40:43 |
| NVD | nvd_CVE-2025-54812 |
2025-11-11 15:01:00 | 2025-11-11 07:48:30 |
| CNNVD | cnnvd_CNNVD-202508-2686 |
2025-11-11 15:12:54 | 2025-11-11 08:00:06 |
版本与语言
安全公告
变更历史
查看详细变更
- vulnerability_type: 未提取 -> 其他
- cnnvd_id: 未提取 -> CNNVD-202508-2686
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- affected_products_count: 1 -> 2
- references_count: 3 -> 5
- data_sources: ['cve'] -> ['cve', 'nvd']