drupal/diff - SA-CONTRIB-2024-042
This module adds a tab for sufficiently permissioned users. The tab shows all revisions like standard Drupal but it also allows pretty viewing of all added/changed/deleted words between revisions.
The module doesn't sufficiently check revision access before rendering a diff report for 1) nodes or 2) general entities that support diff.
This vulnerability is mitigated by the fact that an attacker must have a role with the permission from the general node permission to "view all revisions", one of the more specific node type permissions, "view %bundle revisions" or the equivalent for other general entity types.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | drupal/diff | < 1.8.0, >= 2.0.0-beta1, < 2.0.0-beta3 | 1.8.0, 2.0.0-beta3 |
| Drupal module | drupal/diff | < 1.8.0, >= 2.0.0-beta1, < 2.0.0-beta3 | 1.8.0, 2.0.0-beta3 |
References
- Weakness (CWE)
-- Platform
- Composer, Drupal
- Package
drupal/diff- Disclosed
- 02.10.2024
- Updated
- 11.10.2026 12:18
Sources and licenses
OSV / GitHub Advisory Database - DRUPAL-CONTRIB-2024-042 - CC BY-SA 2.0; code GPL-2.0-or-later
Vulnerability history: drupal/diff
All published vulnerabilities of this package (Drupal module), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 2
- First → latest
- 10.2024 08.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Unrated 2
Disclosures per year
- 2024: 1
- 2025: 0
- 2026: 1
-
drupal/diff - SA-CONTRIB-2024-042 this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.