gbhackers.comยท29 october 2026
Cloudflare Image Transformation Flaw Allows Hackers to Bypass CSP and Execute Malicious JavaScript

Chromium
Cloudflare
content security policy
CSP
Firefox
Image Transformations
JavaScript
Netlify Image CDN
Rust
S3
Safari
SVG
svg-hush
xml-rs
XML serialization
gbhackers.com
Security researchers demonstrated an attack chain against Cloudflare's Image Transformations service that bypasses SVG sanitization and Content Security Policy (CSP), enabling malicious JavaScript execution on a targeted website's origin. The attack combines an XML serialization flaw, Chromium cache behavior, and redirects that circumvent image source restrictions. Exploitation depends on specific service configurations and browser navigation conditions. The researchers found that sanitizing content alone cannot establish safety when forwarded headers can later change browser enforcement or parsing. Cloudflare has not provided a CVE identifier, remediation timeline, or confirmation of exploitation in the wild.