VDB
Sign up
MEDIUM6.1

GHSA-3jg4-p23x-p4qx

Statamic has Reflected XSS via unescaped redirect parameter in its password reset form tag

Quick fix

GHSA-3jg4-p23x-p4qx — statamic/cms: upgrade to the fixed version with the command below.

composer require statamic/cms:^5.73.16

Details

### Impact

The `user:reset_password_form` tag could render user-input directly into HTML without escaping, allowing an attacker to craft a URL that executes arbitrary JavaScript in the victim's browser.

### 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"]}'