Vulnerabilities in pkg:npm/apostrophe

PACKAGE
Advisory Identifier: GHSA-xf6w-q65w-4f2w
Advisory Summary

CVE-2026-113653 is a MODERATE the general public can access vulnerability (CWE-863: Incorrect Authorization) affecting ApostropheCMS libraries in the npm ecosystem. The issue involves the general public can access @apostrophecms/user objects via a relationship (viewrole is not applied to the general public). Remediation is available by upgrading affected packages to version 4.33.0.

28 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:npm/apostrophe

28 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:npm/apostrophe. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-xf6w-q65w-4f2w CVE-2026-113653 MODERATE ApostropheCMS: The general public can access @apostrophecms/user objects via a relationship (viewRole is not applied to the general public)
GHSA-vwwx-px9w-crrc CVE-2026-113665 LOW ApostropheCMS: Missing Authorization on Notification PATCH/DELETE Endpoints
GHSA-vmxh-77cw-65j7 CVE-2026-113660 MODERATE ApostropheCMS: Authenticated Object-Level Authorization Bypass in exist-in-locale Reveals Restricted Localized Draft Identifiers
GHSA-m2m5-rw3w-cwmj CVE-2026-113659 MODERATE ApostropheCMS: Client-side Prototype Pollution in apos.http.parseQuery leading to DOM-based XSS against authenticated users
GHSA-653j-g8j7-gh54 CVE-2026-113710 MODERATE ApostropheCMS: No Attempt Throttling on Authenticated Password-Change Endpoint Enables Unlimited Current-Password Guessing
GHSA-gqh3-7856-rjjg CVE-2026-113668 MODERATE ApostropheCMS: :_id/locales REST route omits the public-API authorization gate its sibling read routes enforce (unauthenticated doc-existence + locale metadata disclosure)
GHSA-2j32-q6rx-h844 CVE-2026-113670 MODERATE ApostropheCMS: Page REST API authorization bypass
GHSA-qhcq-9pm2-c9w9 CVE-2026-113658 HIGH ApostropheCMS: Unauthenticated CSV import requests leave rejected uploads in the system temporary directory
GHSA-hhvr-8m24-qqr3 CVE-2026-113669 MODERATE ApostropheCMS: Cross-domain session token in URL confers session takeover
GHSA-2jrp-qc93-h2j8 CVE-2026-113655 MODERATE ApostropheCMS: Same-parent page reorder in @apostrophecms/page move() re-ranks a restricted parent's children without create authorization
GHSA-j5rq-xfvr-p969 CVE-2026-113666 HIGH ApostropheCMS: Authenticated projection-exclusion prototype-member deletion in @apostrophecms/db-connect causes process-wide denial of service
GHSA-wr5r-wqp2-x4fh CVE-2026-63669 MODERATE ApostropheCMS: Missing destination-parent authorization in page `move()` allows a low-privileged editor to move and re-rank pages inside a restricted subtree
GHSA-vmg4-6gfg-83qx CVE-2026-71553 HIGH ApostropheCMS: 2nd-order prototype pollution via PATCH leading to single-request persistent DoS
GHSA-34pj-2622-jvxq CVE-2026-53607 LOW @apostrophecms/file pretty-URL Vulnerable to Unauthenticated SSRF via Host header
GHSA-6h5j-32cf-4253 CVE-2026-53609 CRITICAL Apostrophe has Server-Side Prototype Pollution in apos.util.set via patch operators that leads to process-wide authorization bypass
GHSA-gf43-24g3-5hw2 CVE-2026-45013 HIGH Apostrophe has a Weak Password Recovery Mechanism for Forgotten Password and Improper Input Validation
GHSA-pr28-mf3q-qpg6 CVE-2026-45012 HIGH Apostrophe has authenticated SSRF in rich-text widget import via @apostrophecms/area/validate-widget
GHSA-5f64-7vfc-rcx6 CVE-2026-45011 HIGH Apostrophe has stored XSS via javascript: URL in Image Widget Link
GHSA-855c-r2vq-c292 CVE-2026-35569 HIGH Stored XSS in SEO Fields Leads to Authenticated API Data Exposure in ApostropheCMS
GHSA-c276-fj82-f2pq CVE-2026-39857 MODERATE ApostropheCMS: Information Disclosure via choices/counts Query Parameters Bypassing publicApiProjection Field Restrictions
GHSA-97v6-998m-fp4g CVE-2026-33889 MODERATE ApostropheCMS: Stored XSS via CSS Custom Property Injection in @apostrophecms/color-field Escaping Style Tag Context
GHSA-xhq9-58fw-859p CVE-2026-33888 MODERATE ApostropheCMS: publicApiProjection Bypass via project Query Builder in Piece-Type REST API
GHSA-mj7r-x3h3-7rmr CVE-2026-33877 LOW ApostropheCMS: User Enumeration via Timing Side Channel in Password Reset Endpoint
GHSA-v9xm-ffx2-7h35 CVE-2026-32730 HIGH ApostropheCMS MFA/TOTP Bypass via Incorrect MongoDB Query in Bearer Token Middleware
GHSA-9j9m-8wjc-ff96 CVE-2021-25979 CRITICAL Apostrophe CMS Insufficient Session Expiration vulnerability
GHSA-4r9c-jghc-cx5m CVE-2021-25978 MODERATE Cross-site Scripting in apostrophe
GHSA-h97g-4mx7-5p2p - MODERATE Open Redirect in apostrophe
GHSA-pv6r-vchh-cxg9 - LOW Denial of Service in apostrophe

CVE-2026-113653 at a Glance

CVE Identifier CVE-2026-113653
GHSA Identifier GHSA-xf6w-q65w-4f2w
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-863: Incorrect Authorization
Affected Product ApostropheCMS
Package Ecosystem npm
Published Date
Last Updated

How to Fix CVE-2026-113653

To remediate this vulnerability, upgrade all affected ApostropheCMS dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

apostrophe fixed: 4.33.0
npm install apostrophe@4.33.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls apostrophe

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2026-113653, inspect your project dependencies using npm:

npm ls apostrophe

Analyze the terminal output to locate any version of ApostropheCMS in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.33.0), your application is affected.

Note: The npm ls apostrophe command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-863: Incorrect Authorization, where the product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. In ApostropheCMS, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### 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.

CVE-2026-113653 Affected ApostropheCMS Versions

1 component(s)
Fixed Versions:
4.33.0
Product / Package Ecosystem Affected Versions Fixed Version
apostrophe
npm
< 4.33.0
4.33.0

References

Frequently Asked Questions

What is CVE-2026-113653?
CVE-2026-113653 is a security vulnerability in ApostropheCMS involving The general public can access @apostrophecms/user objects via a relationship (viewRole is not applied to the general public) under CWE-863: Incorrect Authorization.
Which ApostropheCMS versions are affected?
Affected versions include releases prior to 4.33.0 across affected packages: apostrophe.
What version fixes CVE-2026-113653?
Upgrading to 4.33.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is apostrophe affected?
Yes, apostrophe is affected in releases prior to 4.33.0. Upgrade your dependency to 4.33.0 or later.
What CWE is associated with CVE-2026-113653?
CVE-2026-113653 is classified under CWE-863: Incorrect Authorization (The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.).
How can I check npm dependencies for CVE-2026-113653?
Run the dependency tree command: 'npm ls apostrophe'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-xf6w-q65w-4f2w",
  "modified" : "2026-10-20T18:26:02Z",
  "published" : "2026-10-20T18:26:02Z",
  "aliases" : [ "CVE-2026-113653" ],
  "summary" : "ApostropheCMS: The general public can access @apostrophecms/user objects via a relationship (viewRole is not applied to the general public)",
  "details" : "### Impact\nEven 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.\n\nThis 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.\n\nThe public demo project and its various flavors must be updated first because it inadvertently relies on the bug.\n\n### Patches\n4.33.0\n\n### Workarounds\nNever 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.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "apostrophe"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "4.33.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-xf6w-q65w-4f2w"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apostrophecms/apostrophe/commit/9500b8b0e1d630d5e07fbb5fd2c25ed0943845ce"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apostrophecms/apostrophe/commit/f84fd41cbf6c22eb8d0008fc9c25df1f7130b350"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apostrophecms/apostrophe"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apostrophecms/apostrophe/releases/tag/apostrophe@4.33.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-863" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-10-20T18:26:02Z",
    "nvd_published_at" : null
  }
}