CVE-2026-9673: Bypass Csv Injection Protection

The regular expression used to remove or sanitize CSV injection sequences lacks leading space character matching. Attackers can bypass this protection by prefixing their payloads with a space (e.g., ` =cmd|' /C calc'!A0`), exploiting the parser's loose spacing evaluation. Update the regex to consume leading spaces before checking for injection characters, su

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0JS
greprules fetch cve-2026-9673-bypass-csv-injection-protection --engine opengrep

Description

The regular expression used to remove or sanitize CSV injection sequences lacks leading space character matching. Attackers can bypass this protection by prefixing their payloads with a space (e.g., ` =cmd|' /C calc'!A0`), exploiting the parser's loose spacing evaluation. Update the regex to consume leading spaces before checking for injection characters, su