CVE-2025-7715
mediumpriority · track · 0EPSS 0.003 · 18 %ileDEEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (8)
Products and version ranges known to be affected.
- block attributes project block attributes= 2.0.0nvdUScpe:2.3:a:block_attributes_project:block_attributes:*:*:*:*:*:*:*:*
- block attributes project block attributes7.x-1.x-dev → 8.x-1.1nvdUScpe:2.3:a:block_attributes_project:block_attributes:*:*:*:*:*:*:*:*
- Packagist:https://packages.drupal.org/8 drupal/block_attributes< 1.1.0osvUSpkg:composer/drupal/block_attributes?repository_url=https:%2F%2Fpackages.drupal.org%2F8
- Packagist:https://packages.drupal.org/8 drupal/block_attributes2.0.0 → 2.0.1osvUSpkg:composer/drupal/block_attributes?repository_url=https:%2F%2Fpackages.drupal.org%2F8
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2025-1587Drupal-Module: Mehrere SchwachstellenDeutsch2025-07-16csaf · cert_bundDE
Ein entfernter anonymer oder authentisierter Angreifer kann mehrere Schwachstellen in Drupal ausnutzen, um einen Cross-Site-Scripting-Angriff zu starten und die Sicherheitsmaßnahmen zu umgehen.
- DRUPAL-CONTRIB-2025-0902025-07-16vendor · osvUS
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. The 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. This 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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (5)
External citations — patches, advisories, analysis.
- https://nvd.nist.gov/vuln/detail/CVE-2025-7715cnnvd
- https://vigilance.fr/vulnerability/Drupal-Block-Attributes-Cross-Site-Scripting-dated-17-07-2025-47731cnnvd
- https://www.drupal.org/sa-contrib-2025-090cnnvd
- https://www.drupal.org/sa-contrib-2025-090enisa_euvd
- https://www.drupal.org/sa-contrib-2025-090Third Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan