Advisory record · GHSA-p8g6-5mg7-9r5q

Drupal REST API can bypass comment approval

CVSS 7.4 HighEPSS 0.021 · 82nd percentile

Published by the GitHub Advisory Database at 13 May 2022, 01:36 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
drupal/corePackagist>=8.0, <8.3.78.3.7
drupal/drupalPackagist>=8.0, <8.3.78.3.7
Identifiers
GHSA-p8g6-5mg7-9r5q · CVE-2017-6924 · PKSA-bjxv-t98g-wxbc · PKSA-tpkb-65dd-h1sr
Weakness (CWE)
CWE-269
Published
13 May 2022
Updated
23 Apr 2024

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Drupal core (drupal/core and drupal/drupal, versions >=8.0, <8.3.7) allows comments posted through the REST API to be approved even when the posting user lacks permission to post approved comments. An attacker who can use an account with comment-posting rights, or who can post comments anonymously, can get comments published without approval. Upgrade to Drupal 8.3.7 or later. The issue only applies when the RESTful Web Services (rest) module and the comment entity REST resource are enabled.

Written 4 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.4 High 3.0 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS 0.021, the 82nd percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:30 UTC First seen by agentprime
  2. 31 Oct 2026, 14:30 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.