PatchClock

PHP security digest · 21 Oct 2026

Sector is a distribution targeted towards Drupal site builders and site owners who are looking for a fully configured Drupal project out of the box. A module s...

Unrated CVE-2026-107260

Package
drupal/sector
Fixed in
10.3.3, 10.4.2
Published
Wed 21 Oct 2026, 18:43 Lisbon
Installs on Packagist
13K

In plain words

A module specific to Sector does not sufficiently sanitise media names, which could allow cross-site scripting (XSS). An attacker must have a role that allows them to create or edit a media entity.

Am I affected?

Look for drupal/sector and its installed version in composer.lock. The advisory lists fixes in 10.3.3 and 10.4.2, but gives no affected version range. Check which roles can create or edit media entities, as an attacker needs that permission.

What to do

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

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

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 vulnerability is mitigated by the requirement that an attacker have a role with the ability to create or edit a media entity.

The advisory's description

Sector is a distribution targeted towards Drupal site builders and site owners who are looking for a fully configured Drupal project out of the box.

A module specific to this distribution doesn't sufficiently sanitize media names, potentially leading to an XSS exploit.

This vulnerability is mitigated by the fact that an attacker must have a role with the ability to create or edit a media entity.

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.