GHSA-cvh3-23vq-w7h4
Statamic's Markdown preview endpoint exposes sensitive user data
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | statamic/cms | < 5.73.16 | 5.73.16 |
| Packagist | statamic/cms | >= 6.0.0-alpha.1, < 6.7.2 | 6.7.2 |
Details
As written in the advisory (Markdown source, shown as plain text).
### Impact
The markdown preview endpoint could be manipulated to return augmented data from arbitrary fieldtypes. With the users fieldtype specifically, an authenticated control panel user could retrieve sensitive user data including email addresses, encrypted passkey data, and encrypted two-factor authentication codes.
### Patches
This has been fixed in 5.73.16 and 6.7.2.
References
External links from the advisory. They lead to third-party sites.