GHSA-PCMV-C398-GC5M
Unauthenticated user-PII disclosure via GQL "draftCreator"/"revisionCreator"
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-PCMV-C398-GC5M divulgada | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
In Craft's GraphQL API, every intended route to a `User` object is gated on `Gql::canQueryUsers()`, which requires a `usergroups.*:read` scope - this covers `author`/`authors`, the Users relation field, Asset `uploader`, and the top-level `users`/`addresses` queries.
Two fields are the exception: `draftCreator` and `revisionCreator` are gated on `canQueryDrafts()` / `canQueryRevisions()` (the `elements.drafts:read` / `elements.revisions:read` scope) instead. Their resolver returns a raw `User` element via `getCreator()`, and the `User` GraphQL type exposes `email`, `username`, `fullName` and `addresses` with no per-field authorization.
As a result, a schema that has the drafts (or revisions) scope but no user-data scope can still read the full PII of every draft/revision creator - typically the site’s editors and administrators. This is reachable unauthenticated when the operator enables Craft’s public GraphQL schema with the drafts scope.
Impact
An unauthenticated client (when the public schema is configured with the drafts/revisions scope) - or any token-scoped client granted drafts/revisions but not user data - can harvest the email addresses, usernames, full names, and postal addresses of all draft/revision creators. This discloses users’ personal/postal data. The exposure crosses an authorization boundary that the schema explicitly does not grant (it cannot query users directly), so it is a genuine scope-isolation failure rather than intended data exposure.
Report ID: 1502
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
Packagistcraftcms/cms |
Corregida | 5.11.0 | — | — |
5.11.0Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/craftcms/cms/security/advisories/GHSA-pcmv-c398-gc5mLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
