gbhackers.comยท29 october 2026

Cloudflare Image Transformation Flaw Allows Hackers to Bypass CSP and Execute Malicious JavaScript

Image for the article: Cloudflare Image Transformation Flaw Allows Hackers to Bypass CSP and Execute Malicious JavaScript
Image via 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.