HighGHSA-7x43-mpfg-r9wj
Craft CMS has IDOR via GraphQL @parseRefs
Affected versions
4.0.0-RC1 to before 4.17.0-beta.1, 5.0.0-RC1 to before 5.9.0-beta.1 - fixed in 4.17.0-beta.1Details
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. ## Vulnerability Details `craft\services\Elements::parseRefs` identifies reference tags and resolves them using `_getRefTokenReplacement`. This method fetches the referenced element and a
Is your site exposed?Run a free passive scan. See your platform, versions and the issues on your surface in under a minute.
Check if my site is affected