Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-113659 Overview
CVE-2026-113659 is a prototype pollution vulnerability in ApostropheCMS, an open-source Node.js content management system. Versions prior to 4.33.0 ship a client-side query parser (apos.http.parseQuery) that accepts the reserved keys __proto__, constructor, and prototype in URL query strings. When an authenticated user with the admin bundle loaded clicks a crafted link, the attacker can mutate Object.prototype in the victim's browser. The polluted prototype then reaches an unsafe DOM sink, enabling cross-site scripting [CWE-79] in the victim's authenticated session. Anonymous visitors are not affected because they do not load the admin context. The issue is fixed in ApostropheCMS 4.33.0.
Critical Impact
An unauthenticated attacker can execute arbitrary JavaScript in the browser session of an authenticated ApostropheCMS user by delivering a crafted link, enabling account takeover of editors and administrators.
Affected Products
- ApostropheCMS versions prior to 4.33.0
- The apos.http.parseQuery client-side query parser shipped with the admin bundle
- Deployments where editors or administrators browse links from untrusted sources
Discovery Timeline
- 2026-10-20 - CVE-2026-113659 published to the National Vulnerability Database
- 2026-10-20 - Last updated in NVD database
Technical Details for CVE-2026-113659
Vulnerability Analysis
The vulnerability resides in apos.http.parseQuery, a client-side helper that converts URL query strings into JavaScript objects. The parser walks nested path keys and assigns values without filtering out reserved property names. An attacker crafts a URL containing keys such as ?__proto__[polluted]=value or ?constructor[prototype][polluted]=value. When an authenticated victim with the admin bundle loaded opens the link, the parser writes attacker-controlled properties onto Object.prototype. Downstream admin code that reads an object property without verifying ownership inherits the polluted value. That value ultimately flows into a DOM sink that treats strings as HTML or JavaScript, producing script execution in the victim's session.
Root Cause
The root cause is missing input validation in the recursive query-string parser. The function does not reject or sanitize the special keys __proto__, constructor, and prototype before assigning nested values, allowing prototype chain mutation [CWE-1321]. The resulting reflected XSS [CWE-79] is only exploitable because polluted properties are later consumed by an admin-side DOM sink without encoding.
Attack Vector
Exploitation requires user interaction. The attacker delivers a crafted link via phishing, a public comment, chat, or any channel the victim will click. The victim must already be authenticated to the ApostropheCMS admin interface so the vulnerable bundle is active. No privileges are required of the attacker, and the scope changes because script executes against the admin origin with the victim's session cookies.
The upstream fixes land in commits 9500b8b and f84fd41c, released as part of Apostrophe v4.33.0. Full technical context is published in GitHub Security Advisory GHSA-m2m5-rw3w-cwmj.
Detection Methods for CVE-2026-113659
Indicators of Compromise
- Web server or reverse-proxy access logs containing query strings with __proto__, constructor, or prototype tokens, URL-encoded (%5F%5Fproto%5F%5F) or in bracketed form (?__proto__[x]=y).
- Referrer headers from external domains pointing authenticated admin users to pages containing suspicious query parameters.
- Unexpected admin-user actions in audit logs, such as new user creation, role changes, or content edits sourced from legitimate accounts shortly after clicking an external link.
Detection Strategies
- Deploy a WAF or reverse-proxy rule that blocks or alerts on request URIs containing the literal substrings __proto__, constructor[, or prototype[ in query parameters.
- Hunt in HTTP telemetry for GET requests to admin paths where the query string contains bracketed prototype keys, correlated with the user-agent of authenticated editors.
- Review browser-side error telemetry for unusual property access on polluted objects, which can surface previously undetected exploitation attempts.
Monitoring Recommendations
- Monitor the ApostropheCMS version string across all deployments and alert on any instance running below 4.33.0.
- Enable and retain full URL logging on edge proxies so that query-string-based attacks remain visible for retrospective hunts.
- Track outbound requests originating from admin sessions to unexpected domains, which may indicate successful XSS-driven data exfiltration.
How to Mitigate CVE-2026-113659
Immediate Actions Required
- Upgrade ApostropheCMS to version 4.33.0 or later across all environments, prioritizing internet-exposed admin interfaces.
- Invalidate active admin sessions after upgrading and require re-authentication for all editors and administrators.
- Communicate to admin users to avoid clicking untrusted links while logged into the CMS until the patch is deployed.
Patch Information
The fix is included in ApostropheCMS 4.33.0. The relevant upstream commits are 9500b8b0e1d630d5e07fbb5fd2c25ed0943845ce and f84fd41cbf6c22eb8d0008fc9c25df1f7130b350. Refer to GHSA-m2m5-rw3w-cwmj for the vendor advisory. Note that the public commits for this advisory primarily touch repository hygiene and auxiliary modules; the authoritative patch is distributed via the 4.33.0 release artifact.
Workarounds
- Place a WAF or reverse-proxy filter in front of the CMS that drops requests whose query string contains __proto__, constructor[, or prototype[.
- Restrict admin interface access to a VPN or allowlisted IP ranges so the vulnerable bundle is not loadable from arbitrary origins.
- Apply a strict Content-Security-Policy header on admin routes that disallows inline scripts and limits script sources to the application origin.
# Example NGINX rule to block prototype-pollution query strings
if ($args ~* "(__proto__|constructor\[|prototype\[)") {
return 400;
}
# Upgrade ApostropheCMS to the patched release
npm install apostrophe@4.33.0
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

