{"id":"DRUPAL-CONTRIB-2026-159","details":"The Webform module allows site builders to create forms, collect submissions, and configure access to forms and submission data.\n\nThe 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.\n\nThis 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.","aliases":["CVE-2026-96359"],"modified":"2026-09-23T17:40:56.886232Z","published":"2026-09-23T16:13:50Z","references":[{"type":"WEB","url":"https://www.drupal.org/sa-contrib-2026-159"}],"affected":[{"package":{"name":"drupal/webform","ecosystem":"Packagist:https://packages.drupal.org/8","purl":"pkg:composer/drupal/webform?repository_url=https:%2F%2Fpackages.drupal.org%2F8"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.12"}],"database_specific":{"constraint":"\u003c6.2.12"}},{"type":"ECOSYSTEM","events":[{"introduced":"6.3.0"},{"fixed":"6.3.1"}],"database_specific":{"constraint":"\u003e=6.3.0 \u003c6.3.1"}}],"database_specific":{"affected_versions":"\u003c6.2.12 || \u003e=6.3.0 \u003c6.3.1","source":"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/webform/DRUPAL-CONTRIB-2026-159.json"}}],"schema_version":"1.9.0","credits":[{"name":"Pierre Rudloff (prudloff)","contact":["https://www.drupal.org/u/prudloff"]}]}