VDB
Sign up
MEDIUM6.5

GHSA-cvh3-23vq-w7h4

Statamic's Markdown preview endpoint exposes sensitive user data

Quick fix

GHSA-cvh3-23vq-w7h4 — statamic/cms: upgrade to the fixed version with the command below.

composer require statamic/cms:^5.73.16

Details

### 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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/statamic/cms
Introduced in: 0Fixed in: 5.73.16
Fixcomposer require statamic/cms:^5.73.16
Packagist/statamic/cms
Introduced in: 6.0.0-alpha.1Fixed in: 6.7.2
Fixcomposer require statamic/cms:^6.7.2

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:composer/statamic/cms"]}'