HighGHSA-5m64-9hq5-5pf2CVE-2017-11422

Statamic framework Incorrect Permission Assignment

Published 13 May 2022 · Updated 8 Nov 2023

Affected package

statamic/cmsComposer
Affected
<2.6.0
Fixed in
2.6.0
Update to the fixed version for your release line, for example:composer require statamic/cms:^2.6.0

Details

Statamic framework before 2.6.0 does not correctly check a session's permissions when the methods from a user's class are called. Problematic methods include reset password, create new account, create new role, etc.

Is GHSA-5m64-9hq5-5pf2 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected statamic/cms, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.