CVE-2025-7715
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedImproper 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceStored XSS vulnerability in Drupal Block Attributes module allows attackers to inject malicious scripts through block attributes that are rendered on web pages without proper input sanitization. The vulnerability affects versions 0.x before 1.1.0 and 2.x before 2.0.1.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 7.x-1.x-dev, < 8.x-1.1= 2.0.0CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Verify Block Attributes module is installedRun `drush pm-list --status=enabled` or check for the block_attributes module in the modules directory (typically sites/all/modules or web/modules). If using Drupal UI, check Reports > Status report for the Block Attributes module.Affected if The Block Attributes module appears in the enabled module list
-
Determine installed version of Block AttributesOpen the block_attributes.info.yml or block_attributes.module file in the module directory and read the version line. Alternatively, run `drush pm-info block_attributes` to display version details.Affected if Version is 7.x-1.x-dev through 1.0.x (less than 1.1.0), or version is exactly 2.0.0
-
Identify blocks with custom attributes configuredAccess the block configuration pages at admin/structure/block, or query the database: SELECT bid, delta, theme FROM block WHERE AND (data LIKE '%block_attributes%' OR data LIKE '%attributes%').Affected if Any blocks exist that have custom attributes configured using the Block Attributes module
-
Inspect block attribute values for malicious contentReview each block with attributes configured. Check the block_attributes_data database table or the data column in the block table for attribute values. Look for patterns like <script, javascript:, onload=, onerror=, or encoded characters such as %3Cscript.Affected if Any attribute value contains HTML tags, JavaScript event handlers, or encoded script injection attempts
You are affected if Block Attributes module version is below 1.1.0 (for 7.x-1.x) or is exactly 2.0.0 (for 2.x), AND you have blocks configured with custom attributes that contain unsanitized input.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped8.x-1.1
Update Drupal Block Attributes module to version 1.1.0, 2.0.1, or later to apply the vendor patch. Review existing blocks for malicious attribute values that may have been injected.
Block Attributes 1.1.0 (for 7.x-1.x branch) or 2.0.1 (for 2.x branch)
- 1. Identify the installed version of the Block Attributes module in your Drupal environment
- 2. For Drupal 7.x installations: Upgrade Block Attributes module to version 1.1.0 or later
- 3. For Drupal 8.x+ installations: Upgrade Block Attributes module to version 2.0.1 or later
- 4. Clear Drupal cache after upgrading (run drush cr or access /admin/config/development/performance/clear-cache)
- 5. Verify the upgrade was successful by checking the module version in the Drupal admin interface or via drush pm-list
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation2.0 h
- Testing3.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,224.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-7715 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-7715 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data