Drupal Security Advisory
DRUPAL-CONTRIB-2024-042
Details
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist:https://packages.drupal.org/8 | drupal/diff | All versions before 1.8.0 (fixed in 1.8.0) From 2.0.0-beta1 before 2.0.0-beta3 (fixed in 2.0.0-beta3) |