{"id":"CVE-2025-7715","aliases":["CVE-2025-7715","DRUPAL-CONTRIB-2025-090"],"related":[],"kind":"vulnerability","state":"published","title":"Block Attributes - Moderately critical - Cross-site Scripting - SA-CONTRIB-2025-090","summary":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Drupal Block Attributes allows Cross-Site Scripting (XSS).This issue affects Block Attributes: from 0.0.0 before 1.1.0, from 2.0.0 before 2.0.1.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Drupal Block Attributes allows Cross-Site Scripting (XSS).This issue affects Block Attributes: from 0.0.0 before 1.1.0, from 2.0.0 before 2.0.1.","source":"cvelist"},{"lang":"en","text":"This module allows you to define custom attributes for a block. You can specify an attribute name to be added to the block in a predefined format.\n\nThe module does not sufficiently validate the provided attributes, which makes it possible to insert JavaScript event attributes such as `onmouseover`, `onkeyup`, etc. These attributes can execute JavaScript code when the page is rendered, leading to cross-site scripting (XSS) vulnerabilities.\n\nThis vulnerability is partially mitigated by the requirement to manually add the specific attributes and corresponding JavaScript code to the form after the attribute has been created.","format":"markdown","source":"drupal"},{"lang":"es","text":"La vulnerabilidad de neutralización incorrecta de la entrada durante la generación de páginas web ('Cross-site Scripting') en Drupal Block Attributes permite la ejecución de cross-site scripting (XSS). Este problema afecta a los atributos de bloque: desde la versión 0.0.0 hasta la 1.1.0 y desde la versión 2.0.0 hasta la 2.0.1.","source":"nvd"}],"published":"2025-07-16T16:46:26.000Z","modified":"2026-09-10T03:45:23.883Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0.0.0","fixed":"1.1.0","status":"affected"},{"type":"semver","introduced":"2.0.0","fixed":"2.0.1","status":"affected"}],"vendor":"Drupal","product":"Block Attributes","repo":"https://git.drupalcode.org/project/block_attributes","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.1.0"},{"type":"ecosystem","introduced":"2.0.0","status":"affected","fixed":"2.0.1"}],"ecosystem":"Packagist:https://packages.drupal.org/8","package":"drupal/block_attributes","purl":"pkg:composer/drupal/block_attributes?repository_url=https:%2F%2Fpackages.drupal.org%2F8","source":"drupal"},{"ranges":[{"status":"affected","introduced":"7.x-1.x-dev","fixed":"8.x-1.1"},{"status":"affected","version":"2.0.0"}],"vendor":"block_attributes_project","product":"block_attributes","cpe":"cpe:2.3:a:block_attributes_project:block_attributes:*:*:*:*:*:drupal:*:*","source":"nvd"}],"references":[{"url":"https://www.drupal.org/sa-contrib-2025-090","tags":["third-party-advisory","web"],"sources":["cvelist","drupal","nvd"]}],"credits":["Pierre Rudloff (prudloff)","Kostia Bohach (_shy)","Greg Knaddison (greggles)","Juraj Nemec (poker10)","Pierre Rudloff (prudloff), provisional member of the Drupal Security Team","Jess  (xjm)"],"assigner":"drupal","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-07-22T14:02:14.380Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-7715","url":"https://www.cve.org/CVERecord?id=CVE-2025-7715","licence":"CVE Terms of Use","modified":"2025-07-22T14:02:39.136Z"},{"source":"drupal","name":"Drupal Security Team","id":"DRUPAL-CONTRIB-2025-090","url":"https://osv.dev/vulnerability/DRUPAL-CONTRIB-2025-090","licence":"MIT","modified":"2026-09-10T03:45:23.883Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-7715","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-7715","licence":"Public domain","modified":"2026-06-17T10:05:31.060Z"}],"updatedAt":"2026-11-25T22:59:01.505Z","epss":{"score":0.00261,"percentile":0.19161,"date":"2026-12-01T12:00:22.000Z"}}