CVE-2017-6924
HIGH 7.4CVSS 3.0Drupal REST API can bypass comment approval
In Drupal 8 prior to 8.3.7; When using the REST API, users without the correct permission can post comments via REST that are approved even if the user does not have permission to post approved comments. This issue only affects sites that have the RESTful Web Services (rest) module enabled, the comment entity REST resource enabled, and where an attacker can access a user account on the site with permissions to post comments, or where anonymous users can post comments.
- Published
- 15 Jan 2019
- Last modified
- 17 Jun 2026
- Assigned by
- mlhess@drupal.org
- NVD status
- Modified
- Weakness
- CWE-269
- Also known as
- GHSA-p8g6-5mg7-9r5q
- Sources
- NVDJSONOSV GHSA-p8g6-5mg7-9r5qJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 7.4 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.0 | HIGH 7.4 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.8 | AV:N/AC:M/Au:N/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | drupal | drupalcpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:* |
>= 8.0.0, < 8.3.7 | 8.3.7 |
| OSV | Packagist | drupal/core | >= 8.0, < 8.3.7 | 8.3.7 |
| OSV | Packagist | drupal/drupal | >= 8.0, < 8.3.7 | 8.3.7 |
References
- http://www.securityfocus.com/bid/100368 · Third Party Advisory, VDB Entry, WEB
- http://www.securitytracker.com/id/1039200 · Third Party Advisory, VDB Entry, WEB
- https://www.drupal.org/forum/newsletters/security-advisories-for-drupal-core/2017-08-16/drupal-core-multiple · Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2017-6924 · ADVISORY
- https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2017-6924.yaml · WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2017-6924.yaml · WEB
- https://github.com/drupal/core · PACKAGE
- https://www.drupal.org/SA-CORE-2017-004 · WEB
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 15 Jan 2019)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 13 May 2022)