PatchClock

PHP security digest · 14 Oct 2026

Gin is an administration theme that provides a modern, clean, and customizable backend UI for editors and site administrators. The module doesn't sufficiently...

Unrated CVE-2026-110738

Package
drupal/gin
Fixed in
4.1.4, 5.0.16
Published
Wed 14 Oct 2026, 18:25 LisbonUpdated Mon 26 Oct 2026, 05:25 Lisbon

In plain words

Gin does not sufficiently sanitise certain attributes, which can allow cross-site scripting (XSS). An attacker must have a role permitted to enter HTML tags containing specific data attributes, or have the administer menu permission.

Am I affected?

Look for drupal/gin and its installed version in composer.lock. The advisory lists fixes in 4.1.4 and 5.0.16 but gives no affected version range. Check whether any roles can enter HTML tags containing specific data attributes or have the administer menu permission; the advisory does not identify the specific attributes.

What to do

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

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

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 requiring an attacker to have a role permitted to enter HTML tags containing specific data attributes, or the administer menu permission.

The advisory's description

Gin is an administration theme that provides a modern, clean, and customizable backend UI for editors and site administrators.

The module doesn't sufficiently sanitize certain attributes, which can lead to a cross-site scripting (XSS) vulnerability.

This vulnerability is mitigated by the fact that an attacker must have a role with permission to enter HTML tags containing specific data attributes or the administer menu permission.

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.