Improper Neutralization of Server-Side Includes (SSI) Within a Web Page in Apache HTTP Server - CVE-2025-58098

 

Improper Neutralization of Server-Side Includes (SSI) Within a Web Page in Apache HTTP Server - CVE-2025-58098

Published: December 4, 2025 / Updated: March 6, 2026


Vulnerability identifier: #VU119149
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/U:Clear
CVE-ID: CVE-2025-58098
CWE-ID: CWE-97
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: Apache Foundation
Affected software:
Apache HTTP Server

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary commands.

The vulnerability exists due to insufficient input validation with Server Side Includes (SSI) enabled and mod_cgid (but not mod_cgi). The web server passes the shell-escaped query string to #exec cmd="..." directives. A remote attacker can send a specially crafted HTTP request to the server and potentially execute arbitrary code.


How to mitigate CVE-2025-58098

Install updates from vendor's website.

Sources