Description
Craft is a content management system (CMS). Prior to 4.17.0-beta.1 and 5.9.0-beta.1, the GraphQL directive @parseRefs, intended to parse internal reference tags (e.g., {user:1:email}), can be abused by both authenticated users and unauthenticated guests (if a Public Schema is enabled) to access sensitive attributes of any element in the CMS. The implementation in Elements::parseRefs fails to perform authorization checks, allowing attackers to read data they are not authorized to view. This vulnerability is fixed in 4.17.0-beta.1 and 5.9.0-beta.1.
Problem types
CWE-639: Authorization Bypass Through User-Controlled Key
Product status
>= 5.0.0-RC1, < 5.9.0-beta.1
References
github.com/...ms/cms/security/advisories/GHSA-7x43-mpfg-r9wj
github.com/...ommit/4d98a07e47580f1712095825d3e3c4d67bc9f8b9