Vulnerabilities/

ApostropheCMS: publicApiProjection Bypass via project Query Builder in Piece-Type REST API

Severity:
Medium

Description

The getRestQuery method in the @apostrophecms/piece-type module checks whether a MongoDB projection has already been set before applying the admin-configured publicApiProjection.

Recommendation

Update the apostrophe package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
apostrophe
Anything's wrong? Let us know Last updated on April 16, 2026