REST API can bypass comment approval - Access Bypass - Moderately Critical
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in core 8.3.7.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Drupal | core | >=Drupal 8 <8.3.7 | 8.3.7 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in core, strongest first
Embed
A live severity badge for an advisory, README or ticket