MediumGHSA-6g9h-6v79-w4pcCVE-2016-7570

Drupal Users without "Administer comments" can set comment visibility on nodes they can edit

Published 17 May 2022 · Updated 23 Apr 2024

Affected packages

Affected
>=8.0.0 <8.1.10
Fixed in
8.1.10
Update to the fixed version for your release line, for example:composer require drupal/drupal:^8.1.10
drupal/coreComposer
Affected
>=8.0.0 <8.1.10
Fixed in
8.1.10
Update to the fixed version for your release line, for example:composer require drupal/core:^8.1.10

Details

Drupal 8.x before 8.1.10 does not properly check for "Administer comments" permission, which allows remote authenticated users to set the visibility of comments for arbitrary nodes by leveraging rights to edit those nodes.

Is GHSA-6g9h-6v79-w4pc in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected drupal/drupal, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.