PatchClock

PHP security digest · 28 Oct 2026

This module enables you to quickly toggle the publication status, promotion and stickiness of nodes, and the publication status of comments, from links on the p...

Unrated CVE-2026-118570

Package
drupal/fasttoggle
Fixed in
4.1.1
Published
Wed 28 Oct 2026, 17:28 LisbonUpdated Mon 2 Nov 2026, 07:25 Lisbon

In plain words

Fasttoggle does not sufficiently protect its toggle URL against cross-site request forgery (CSRF). If a logged-in user with the "Use Fasttoggle" permission visits an attacker-controlled page, the attacker can change the publication status of arbitrary content on that user's behalf.

Am I affected?

Look for drupal/fasttoggle and its version in composer.lock. The advisory lists 4.1.1 as fixed but gives no affected version range. Check which users have the Use Fasttoggle permission: the attack requires one of them to visit an attacker-controlled page while logged in.

What to do

Check which version you have, then update to a fixed release for your branch (4.1.1):

composer show drupal/fasttoggle | grep versions
composer update drupal/fasttoggle

If your version constraint in composer.json keeps you below a fixed release, raise it first. Whether your configuration is affected, and the exact version ranges, are in the advisory itself.

If you cannot update yet

The advisory notes that an attacker must trick a user with the "Use Fasttoggle" permission into visiting an attacker-controlled page while logged in.

The advisory's description

This module enables you to quickly toggle the publication status, promotion and stickiness of nodes, and the publication status of comments, from links on the page.

The module doesn't sufficiently protect against cross-site request forgery (CSRF) on its toggle URL, under the scenario where a user with the "Use Fasttoggle" permission visits a page controlled by an attacker while logged in. This allows the attacker to change the publication status of arbitrary content on behalf of that user.

This vulnerability is mitigated by the fact that an attacker must trick a user with the permission "Use Fasttoggle" into visiting an attacker-controlled page.

The advisory

From OSV.dev, which gathers the GitHub Advisory Database, FriendsOfPHP and Drupal security advisories; the summary is theirs. The description is OSV's record of the advisory. "In plain words", "Am I affected?" and "If you cannot update yet" are based on that advisory, and checked to name no version it does not.