drupal/graphql - SA-CONTRIB-2023-051
The GraphQL module enables you to build GraphQL APIs which can include data fetching through Queries and data updates (create, update, delete) through mutations.
The module does not sufficiently validate incoming requests that are made from domains other than the one serving the GraphQL endpoint. In case a user visits a malicious site, that site may make requests on the users behalf which can lead to the execution of mutations, exposing a CSRF vulnerability. Whether data is returned to the malicious site depends on your sites CORS configuration.
This vulnerability is mitigated by the fact that a user with access to the API must have an active session cookie while visiting a malicious site. This vulnerability is also mitigated by restricting session cookies with the SameSite attribute (see solution below).
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Composer-Paket | drupal/graphql | < 3.4.0, >= 4.0.0, < 4.6.0 | 3.4.0, 4.6.0 |
| Drupal-Modul | drupal/graphql | < 3.4.0, >= 4.0.0, < 4.6.0 | 3.4.0, 4.6.0 |
Verweise
- Schwäche (CWE)
-- Plattform
- Composer, Drupal
- Paket
drupal/graphql- Veröffentlicht
- 08.11.2023
- Aktualisiert
- 11.10.2026 12:18
Quellen und Lizenzen
OSV / GitHub Advisory Database - DRUPAL-CONTRIB-2023-051 - CC BY-SA 2.0; code GPL-2.0-or-later
Schwachstellenhistorie: drupal/graphql
Alle veröffentlichten Schwachstellen dieses Pakets (Composer-Paket), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 4
- Erste → letzte
- 06.2021 11.2023
- Ohne Fix
- 1
- In Angriffen ausgenutzt
- 0
Verteilung nach Schweregrad
- Kritisch 1
- Nicht bewertet 3
Veröffentlichungen pro Jahr
- 2021: 2
- 2022: 0
- 2023: 2
- 2024: 0
- 2025: 0
- 2026: 0
-
drupal/graphql - SA-CONTRIB-2023-051 dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.