Cybersecurity news

Jessica Doner

Back to the list

Researchers Chain Cloudflare Security Flaws to Bypass CSP and Execute Malicious JavaScript

Cyber Security News,

Researchers chained small weaknesses in Cloudflare's image feature to run JavaScript on sites that were meant to block it.

Vulnerabilities and patchesNetworks and the web

Overview

Security researchers at Searchlight Cyber found a way to bypass security rules on Cloudflare, a service that sits in front of 24.3% of all websites. They chained several small weaknesses in the image feature to run malicious JavaScriptThe programming language that web browsers run to make web pages interactive, and that also runs on servers on a site that was meant to block it. The researchers published their work on October 28, 2026, in a write-up titled Cache Me If You Can. They demonstrated a working cross-site scriptingA web flaw where an attacker sneaks malicious script into a page that other visitors' browsers run bug through the /cdn-cgi/image/ endpointAny user device or server, such as a laptop, phone, or workstation, connected to a network on cloudflare.com. Because these pages load from the customer's own domainThe human-readable name for a website or a centrally managed group of workplace computers, a bug in them runs with that site's trust. The write-up does not list a CVEThe public tracking code assigned to a specific known security flaw in software or hardware or a patchA software update released by a developer to fix a bug or close a security flaw status, so readers should check with Cloudflare.

Terms in this story

JavaScript
The programming language that web browsers run to make web pages interactive, and that also runs on servers. Because every browser runs JavaScript automatically when loading a page, attackers use malicious JavaScript in cross-site scripting, fake browser updates, and compromised software packages.
cross-site scripting
A web flaw where an attacker sneaks malicious script into a page that other visitors' browsers run. If a forum or comment box shows user text without filtering out script tags, an attacker can use cross-site scripting to steal session cookies from anyone who views the page. Security+ objective 2.3 lists the term
endpoint
Any user device or server, such as a laptop, phone, or workstation, connected to a network. Security teams install monitoring tools on every company endpoint because a single employee laptop infected at home can carry malware onto the corporate network.
domain
The human-readable name for a website or a centrally managed group of workplace computers. In security stories, domain refers either to a web address that criminals register for phishing or to an organization's internal computer network managed by a central server.
CVE
The public tracking code assigned to a specific known security flaw in software or hardware. Every cataloged software flaw gets a unique CVE label so security teams, vendors, and news reports can talk about the exact same bug without confusion. Security+ objective 2.3 lists the term
patch
A software update released by a developer to fix a bug or close a security flaw. When a software flaw is discovered, the vendor ships a patch so administrators and ordinary users can update their systems before attackers exploit the bug. Security+ objective 4.3 lists the term
bot
An automated program that performs repetitive tasks over a network, either for legitimate indexing or malicious attacks. Search engines use benign bots to index web pages, while criminals deploy malicious bots to scrape prices, buy up tickets, or test stolen passwords.
Content Security Policy
An HTTP response header that tells browsers which domains are allowed to load scripts on a web page. When a website sets a strict Content Security Policy, a visitor's browser refuses to run unauthorized inline scripts or send stolen data to an attacker's server during a cross-site scripting attack.
scripts
A short program written in an interpreted language to automate tasks in a browser, shell, or application. System administrators write scripts to automate daily maintenance, while attackers often use a script to download malware and disable security settings without dropping a compiled file.
SVG
A vector image format written in text tags that can also contain interactive web scripts. Because browsers treat an SVG file like a small web document rather than a simple grid of pixels, phishers attach SVG files to emails to hide links and login forms from scanners.
namespace
A named boundary that keeps variable names, package names, or container resources separate from each other. Operating systems use namespaces to isolate containers so a program inside one container sees only its own files and processes, not those of the host server.
CTF
A cybersecurity training competition where players solve hacking, cryptography, and forensics puzzles to find hidden text flags. Students and security professionals practice offensive and defensive skills in capture-the-flag events by reverse-engineering binaries and exploiting sample web apps in a safe lab.

This page is a short description made for this site. The article itself, with its author's name and its own link, is on the Cyber Security News website. Cite the article, not this page.

Read the full article on Cyber Security News (opens in a new tab)

Course connections

Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.

How a story is connected to the course, and every objective, week and job role

Same story at other outlets

Related