CVE-2025-3902
mediumpriority · track · 0EPSS 0.002 · 16 %ileDEEUUSEPSS · scored 2026-10-28
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Drupal Block Class allows Cross-Site Scripting (XSS).This issue affects Block Class: from 4.0.0 before 4.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 (5)
Products and version ranges known to be affected.
- Packagist:https://packages.drupal.org/8 drupal/block_class4.0.0 → 4.0.1osvUSpkg:composer/drupal/block_class?repository_url=https:%2F%2Fpackages.drupal.org%2F8
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2025-0881Drupal Extensions: Mehrere SchwachstellenDeutsch2025-04-23csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen in verschiedenen Drupal Extensions ausnutzen, um einen Cross-Site Scripting- oder CSRF-Angriff durchzuführen oder weitere nicht spezifizierte Angriffe durchzuführen.
- DRUPAL-CONTRIB-2025-0432025-04-23vendor · osvUS
Block Class enables you to add custom attributes to blocks. The module did not sufficiently sanitize custom attribute input, allowing for potential XSS attacks when malicious JavaScript was injected as a custom attribute. This vulnerability is mitigated by the fact that an attacker must have a role with the permission "administer block classes".
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://vigilance.fr/vulnerability/Drupal-Block-Class-Cross-Site-Scripting-dated-24-04-2025-46949cnnvd
- https://www.drupal.org/project/block_class/releasesPatchcnnvd
- https://www.drupal.org/sa-contrib-2025-043cnnvd
- https://www.drupal.org/sa-contrib-2025-043enisa_euvd
- https://www.drupal.org/sa-contrib-2025-043Vendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan