VDB
Sign up
MEDIUM4.3

GHSA-jh3w-6jp2-vqqm

Missing permission check of canView in GridFieldPrintButton

Quick fix

GHSA-jh3w-6jp2-vqqm — silverstripe/framework: upgrade to the fixed version with the command below.

composer require silverstripe/framework:^4.12.5

Details

The GridField print view incorrectly validates the permission of DataObjects potentially allowing a content author to view records they are not authorised to access.

Upgrade to `silverstripe/framework` 4.12.5 or above to address the issue.

Reported by Stephan Bauer from [relaxt Webdienstleistungsagentur GmbH](https://www.relaxt.at/)

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/silverstripe/framework
Introduced in: 0Fixed in: 4.12.5
Fixcomposer require silverstripe/framework:^4.12.5

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/silverstripe/framework"]}'