GHSA-xf6w-q65w-4f2w: Npm/apostrophe vulnerability

Published Oct 20, 2026
·
Updated

Impact Even though it is correctly applied to guests, contributors, etc., viewRole is not applied to the general public. This means that a secured content type like @apostrophecms/user can in theory be accessed.

This is greatly mitigated by the fact that there is no automatic public REST API for any content type. One has to expressly allow it. However, it does mean that developers can make the mistake of setting up a relationship between a content type like a blog post, and @apostrophecms/user. This could potentially expose some sensitive information if templates were written poorly, e.g. if they JSON-serialized the entire object. Note that password hashes are NOT affected because they reside in a separate collection.

The public demo project and its various flavors must be updated first because it inadvertently relies on the bug.

Patches 4.33.0

Workarounds Never create relationships with @apostrophecms/user that are intended for non-admin display. If you need a relationship that expresses authorship, create a separate author piece type to publicly represent that.

Affected Software

1 affected componentFixes available
npm/apostrophe<4.33.0
4.33.0

Event History

Oct 20, 2026
Advisory Published
via GitHub·06:26 PM
Data Sourced
via GitHub·06:26 PM
DescriptionWeaknessAffected Software

Frequently Asked Questions

1

Who is exposed to this issue?

Exposure requires an application to explicitly make a content type available through a public REST API and to relate publicly displayed content, such as blog posts, to @apostrophecms/user. Risk increases if templates serialize or otherwise expose the full related user object.

2

Are password hashes exposed?

No. Password hashes are stored in a separate collection and are not affected by this issue.

3

What can be done if upgrading is not immediately possible?

Do not create relationships to @apostrophecms/user for non-admin display. For public authorship or similar metadata, use a separate author piece type instead.

4

What version contains the fix?

The issue is patched in version 4.33.0.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203