CVE-2024-38475
Improper escaping of output in mod_rewrite in Apache HTTP Server 2.4.59 and earlier allows an attacker to map URLs to filesystem locations that are permitted to be served by the server but are not intentionally/directly reachable by any URL, resulting in code execution or source code disclosure. Substitutions in server context that use a backreferences or variables as the first segment of the substitution are affected. Some unsafe RewiteRules will be broken by this change and the rewrite flag "UnsafePrefixStat" can be used to opt back in once ensuring the substitution is appropriately constrained.
Scoring
- CVSS base score
- 5.73
- EPSS probability
- 99.96%
- CISA KEV
- Known exploited vulnerability
- CWE
- CWE-116
- Published
- 2024-07-01
- Last modified
- 2025-11-03
Affected products
- Apache Software Foundation Apache HTTP Server
Weakness type
Related vulnerabilities
- CVE-2026-88060 — Angular: SSR XSS via Unescaped <template> Content Across DocumentFragment Boundaries in Fallback Raw-Content Elements
- CVE-2026-88058 — Angular: SSR XSS via Unescaped Processing Instruction (<?...?>) Nodes in Fallback Raw-Content Elements
- CVE-2026-88921 — MISP: Unescaped HTML Injection in PDF Report Element Rendering
- CVE-2026-54694 — NationalSecurityAgency/skills-service has Stored XSS via User Registration Enabling Admin Account Takeover
- CVE-2026-79964 — Dell SCG 5.0 Appliance versions prior to 5.36.00.16 and Dell SCG 5.0 Application versions prior to...
- CVE-2026-79952 — Dell SCG 5.0 Appliance versions prior to 5.36.00.16 and Dell SCG 5.0 Application versions prior to...
- CVE-2026-87550 — Improper encoding or escaping of output in CSS in Google Chrome prior to 153.0.8010.36 allowed a...
- CVE-2026-69821 — Active Directory Certificate Services (AD CS) Elevation of Privilege Vulnerability