DRUPAL-CONTRIB-2026-159
The advisory, in context
The Webform module allows site builders to create forms, collect submissions, and configure access to forms and submission data.
The module did not sufficiently sanitize attributes used by its color element. Under certain conditions, specially crafted attributes could result in cross-site scripting (XSS) when the element is rendered.
This vulnerability is mitigated by the fact that an attacker must be able to add a specially crafted link with a specific class to the same page as the affected webform.
Affected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
Earlier releases before 6.2.12
Fixed in 6.2.12
From 6.3.0 before 6.3.1
Fixed in 6.3.1
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "6.2.12"
}
],
"type": "ECOSYSTEM",
"database_specific": {
"constraint": "<6.2.12"
}
},
{
"events": [
{
"introduced": "6.3.0"
},
{
"fixed": "6.3.1"
}
],
"type": "ECOSYSTEM",
"database_specific": {
"constraint": ">=6.3.0 <6.3.1"
}
}
],
"versions": []
}