CVE-2026-113659: ApostropheCMS: Client-side Prototype Pollution in apos.http.parseQuery leading to DOM-based XSS against authenticated users
The client-side helper apos.http.parseQuery() in ApostropheCMS builds a nested object
from a URL query string without sanitizing the keys __proto__, constructor, or
prototype. Parsing an attacker-controlled query string therefore writes arbitrary
properties onto Object.prototype (client-side prototype pollution).
ApostropheCMS’s admin UI calls this parser with window.location.search on every
authenticated page load (the admin context bar’s data() initializer). Because the admin
UI is built on Vue, a polluted, enumerable property on Object.prototype is then picked up
by Vue’s standard element-mount routine and written to the DOM as an element property,
turning the prototype pollution into DOM-based XSS in the victim’s authenticated session.
The escalation gadget is a well-known, general Vue behavior; the novel,
reportable defect is the unsanitized parseQuery source together with the authenticated
trigger, both of which are ApostropheCMS code.
Any user who can get any logged-in user (from the lowest-privileged guest role up to the highest-privileged admin role) to
open a crafted URL can execute arbitrary JavaScript in that user’s session.
This is distinct from CVE-2026-53609 (server-side prototype pollution via
apos.util.set() / $pullAll, fixed in 4.31.0): different side (client vs server),
different code path, and the vulnerable code here is present in the current release.
References
- github.com/advisories/GHSA-m2m5-rw3w-cwmj
- github.com/apostrophecms/apostrophe/commit/9500b8b0e1d630d5e07fbb5fd2c25ed0943845ce
- github.com/apostrophecms/apostrophe/commit/f84fd41cbf6c22eb8d0008fc9c25df1f7130b350
- github.com/apostrophecms/apostrophe/releases/tag/apostrophe@4.33.0
- github.com/apostrophecms/apostrophe/security/advisories/GHSA-m2m5-rw3w-cwmj
- nvd.nist.gov/vuln/detail/CVE-2026-113659
Code Behaviors & Features
Detect and mitigate CVE-2026-113659 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →