PatchClock

PHP security digest · 23 Sep 2026

The Webform module allows site builders to create forms, collect submissions, and render submitted values in configurable formats. Webform does not sufficientl...

Unrated CVE-2026-96355

Package
drupal/webform
Fixed in
6.2.12, 6.3.1
Published
Wed 23 Sep 2026, 17:27 LisbonUpdated Mon 26 Oct 2026, 03:25 Lisbon

In plain words

An attacker may submit data that is evaluated as template code when a Webform submission is rendered. This requires a webform configured with a custom multiple-value item format containing submission-value tokens. Depending on the site configuration and enabled modules, this could expose information, cause stored cross-site scripting, or allow remote code execution.

Am I affected?

Look for drupal/webform and its version in composer.lock. The advisory lists fixes in 6.2.12 and 6.3.1 but gives no affected version range. Check whether any webform uses a custom multiple-value item format containing submission-value tokens. Additional enabled modules and site-specific configuration may affect the impact.

What to do

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

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

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 affected webform to use a custom multiple-value item format that includes submission-value tokens. Some impacts also depend on additional enabled modules or site-specific configuration.

The advisory's description

The Webform module allows site builders to create forms, collect submissions, and render submitted values in configurable formats.

Webform does not sufficiently exclude certain format templates from token replacement. This can allow an attacker to submit data that is evaluated as template code when a submission is rendered. Depending on the site configuration and enabled modules, this may lead to information disclosure, stored cross-site scripting, or remote code execution.

This vulnerability is mitigated by the fact that an affected webform must be configured with a custom multiple-value item format that includes submission-value tokens. Some impacts may also depend on additional enabled modules or site-specific configuration.

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.