CVE-2026-22547: Generic Insecure Csrf Cookie Httponly

A cookie used for CSRF protection has a configurable or disabled HttpOnly flag. This might allow an attacker to extract the token via XSS or sandboxed iframes unless a Double Submit Cookie pattern mandates JS access.

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0Go
greprules fetch cve-2026-22547-generic-insecure-csrf-cookie-httponly --engine opengrep

Description

A cookie used for CSRF protection has a configurable or disabled HttpOnly flag. This might allow an attacker to extract the token via XSS or sandboxed iframes unless a Double Submit Cookie pattern mandates JS access.