CVE-2026-75757: Unanchored Cookie Regex Lookup

Matching cookie names with an unanchored regular expression allows sibling subdomains or malicious actors to shadow cookies using prefixed cookie names (e.g., matching 'xname=' when searching for 'name='). Match cookie names with exact string equality or anchor with boundary delimiters such as '(?:^|;\\s*)'.

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0JS
greprules fetch cve-2026-75757-unanchored-cookie-regex-lookup --engine opengrep

Description

Matching cookie names with an unanchored regular expression allows sibling subdomains or malicious actors to shadow cookies using prefixed cookie names (e.g., matching 'xname=' when searching for 'name='). Match cookie names with exact string equality or anchor with boundary delimiters such as '(?:^|;\\s*)'.