CVE-2026-4754: Cloned Libxml2 Ssi Escape Bypass

Bypassing URI escaping for server-side includes using in-place mutation allows malicious inputs to break out of attribute contexts, resulting in XSS. The code temporarily replaces part of the string with a null byte to exclude it from escaping. Update to a secure version of libxml2 or replace this manual logic with proper encoding.

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0Cβ
greprules fetch cve-2026-4754-cloned-libxml2-ssi-escape-bypass --engine opengrep

Description

Bypassing URI escaping for server-side includes using in-place mutation allows malicious inputs to break out of attribute contexts, resulting in XSS. The code temporarily replaces part of the string with a null byte to exclude it from escaping. Update to a secure version of libxml2 or replace this manual logic with proper encoding.