{"id":"CVE-2026-126743","aliases":["CVE-2026-126743","DRUPAL-CONTRIB-2026-334"],"related":[],"kind":"vulnerability","state":"published","title":"COOKiES Consent Management - Moderately critical - Cross-site scripting - SA-CONTRIB-2026-334","summary":"Improper Neutralization of Input During Web Page Generation (\"Cross-site Scripting\") vulnerability in Drupal COOKiES Consent Management allows Cross-Site Scripting (XSS). This issue affects COOKiES Consent Management versions: from 0.0.0 to 1.2.17.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Improper Neutralization of Input During Web Page Generation (\"Cross-site Scripting\") vulnerability in Drupal COOKiES Consent Management allows Cross-Site Scripting (XSS). This issue affects COOKiES Consent Management versions: from 0.0.0 to 1.2.17.","source":"cvelist"},{"lang":"en","text":"This module enables you to manage user consent for external services, such as embedded videos. The COOKiES Video submodule blocks external video elements until the visitor accepts the consent banner, then re-enables them.\n\nThe module doesn't sufficiently check the value of the `data-cookies-video-blazy-src` attribute when it converts it back to a `src` attribute for Blazy iframes. The protocol check added in [SA-CONTRIB-2025-092](https://www.drupal.org/sa-contrib-2025-092) covered the other conversion paths but missed this one.\n\nThis vulnerability is mitigated by the fact that an attacker must have the correct permissions to have a specific HTML element display for all users, and that element must have a specific class set.","format":"markdown","source":"drupal"}],"published":"2026-11-11T18:02:50.000Z","modified":"2026-11-26T01:00:17.049Z","severities":[],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0.0.0","fixed":"1.2.17","status":"affected"}],"vendor":"Drupal","product":"COOKiES Consent Management","repo":"https://git.drupalcode.org/project/cookies","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.2.17"}],"ecosystem":"Packagist:https://packages.drupal.org/8","package":"drupal/cookies","purl":"pkg:composer/drupal/cookies?repository_url=https:%2F%2Fpackages.drupal.org%2F8","source":"drupal"}],"references":[{"url":"https://www.drupal.org/sa-contrib-2026-334","tags":["web"],"sources":["cvelist","drupal"]}],"credits":["Whippet (VenusTech ADLab) (whippet)","Julian Pustkuchen (anybody)","Joshua Sedler (grevil)","Swan Kalata (akalata)","Bram Driesen (bramdriesen)","Greg Knaddison (greggles)","Juraj Nemec (poker10)","Jess  (xjm)"],"assigner":"drupal","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-126743","url":"https://www.cve.org/CVERecord?id=CVE-2026-126743","licence":"CVE Terms of Use","modified":"2026-11-26T00:44:34.514Z"},{"source":"drupal","name":"Drupal Security Team","id":"DRUPAL-CONTRIB-2026-334","url":"https://osv.dev/vulnerability/DRUPAL-CONTRIB-2026-334","licence":"MIT","modified":"2026-11-26T01:00:17.049Z"}],"updatedAt":"2026-11-26T01:07:25.116Z","epss":{"score":0.00264,"percentile":0.19583,"date":"2026-12-01T12:00:22.000Z"}}