CVE-2026-52873: Electron Strip Content Security Policy

Deleting or stripping Content-Security-Policy (CSP) headers in Electron webRequest hooks removes browser security protections against cross-site scripting (XSS) and unauthorized resource loading.

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0JS
greprules fetch cve-2026-52873-electron-strip-content-security-policy --engine opengrep

Description

Deleting or stripping Content-Security-Policy (CSP) headers in Electron webRequest hooks removes browser security protections against cross-site scripting (XSS) and unauthorized resource loading.