Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSupply crafted chain string with __proto__ segment
-
DeliveryTrigger call to Jodit.modules.Helpers.set() with attacker-controlled chain
-
ExploitFunction traverses path without denylist validation
-
ExecutionObject.prototype mutated with injected property
-
PersistApplication logic inherits polluted property
-
ImpactLogic bypass, DoS, or secondary exploit triggered
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V3 - Web Frontend Security Prototype pollution prevention
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the consuming application passes a user-controlled or externally-influenced string as the chain argument to Jodit.modules.Helpers.set(). This is not triggered by merely including the jodit package or rendering an editor instance - the vulnerable code path must be explicitly called with attacker-influenced input. Applications that only use Jodit for its editor UI and do not invoke Jodit.modules.Helpers.set() with external data are not directly exploitable. Exploitation is limited by: (1) the application must have a code path where an external or user-controlled string reaches this specific helper function without prior sanitization; (2) successful impact depends on the downstream application logic consuming Object.prototype properties in a security-relevant way (e.g., authorization checks, template lookups). There is no requirement for authentication at the Jodit library layer itself, but the application's own authentication model may constrain who can reach the vulnerable code path. |
| Impact | Real-world risk depends heavily on whether application code passes user-controlled strings to Jodit.modules.Helpers.set(). The CVSS vector was not provided by NVD or the reporter, so metrics are independently assessed. Prototype pollution in shared JavaScript runtimes carries elevated risk because pollution of Object.prototype is global and persistent within the process, potentially affecting unrelated application logic. EPSS data is absent; however, a working PoC is embedded in the public GitHub advisory, lowering the barrier to exploitation. KEV status is negative, and the vulnerability was responsibly disclosed, suggesting no evidence of active exploitation at time of analysis. The attack complexity is high in practice because a specific code path - one that feeds external input directly into Jodit.modules.Helpers.set() - must exist in the consuming application; this is not a default-configuration risk for most deployments. The severity is moderate-to-high for applications that do expose this code path, as prototype pollution can cascade into privilege escalation, authentication bypass, or remote code execution depending on the downstream framework (e.g., lodash-style merge chains, template engine property lookups). |
| Exploit ScenarioDerived | A web application uses Jodit as its editor component and exposes an API endpoint that accepts a JSON body containing a configuration key path, passing it directly to Jodit.modules.Helpers.set(keyPath, value, config). An unauthenticated attacker sends a POST request with the key path set to __proto__.isAdmin and value true; the function walks the chain without validation, mutating Object.prototype so that every subsequent object literal in the process inherits isAdmin: true. Downstream authorization checks that evaluate obj.isAdmin are then bypassed, granting the attacker elevated privileges. A working PoC demonstrating the core pollution primitive is included in the public GitHub advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 18, 2026
Prototype pollution in the Jodit WYSIWYG editor npm package (versions < 4.12.26) allows mutation of Object.prototype via the public helper API Jodit.modules.Helpers.set(). When an application passes user-controlled or partially user-controlled key paths to this function, an attacker can inject arbitrary properties into the global Object.prototype, enabling logic bypass, denial of service, or secondary security issues throughout the entire JavaScript runtime. A proof-of-concept is publicly available in the GitHub advisory (GHSA-vpmm-x3fm-qr5c); no public exploit identified at time of analysis beyond this PoC, and no CISA KEV listing exists.
RemediationAI
Vendor-released patch: jodit 4.12.26. Upgrade the jodit npm package to version 4.12.26 or later using npm install jodit@latest or yarn add jodit@latest; the fix rejects any chain argument whose dot-separated segments include __proto__, constructor, or prototype. If immediate upgrade is not feasible, the primary compensating control is to audit all call sites of Jodit.modules.Helpers.set() and ensure the chain argument is never derived from user-supplied, URL-encoded, or externally-fetched data; replace with a hardcoded or validated allowlist of permitted key paths. Additionally, consider adding an application-layer sanitization wrapper that blocks prototype-polluting keys before they reach any dynamic property-setting utility. These compensating controls do not eliminate the vulnerability but prevent the reachable attack surface until patching is completed. Advisory: https://github.com/xdan/jodit/security/advisories/GHSA-vpmm-x3fm-qr5c.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Jodit is a popular open-source WYSIWYG rich-text editor distributed via npm (pkg:npm/jodit). The vulnerable function, Jodit.modules.Helpers.set(chain, value, obj), accepts a dot-separated key path string and walks each segment to set a nested property. The root cause (CWE-1321: Improperly Controlled Modification of Object Prototype Attributes) is the absence of a denylist check for prototype-mutating path segments - specifically __proto__, constructor, and prototype. Because JavaScript property assignment via bracket notation (e.g., obj["__proto__"]["key"] = val) resolves against the object's prototype chain, a crafted chain reaches Object.prototype and pollutes it globally within the Node.js process or browser runtime. Notably, a similar guard was already introduced for Jodit.configure() in version 4.12.18, confirming awareness of this attack class within the project; the same sanitization was simply not applied to the Helpers.set() API until 4.12.26.
Know when Prototype Pollution gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
Network vector applies when user input reaches the function; AC:H because a specific vulnerable code path in the consuming application is required; S:C because Object.prototype pollution affects the entire runtime beyond the immediate component.
Primary rating from Vendor (https://github.com/xdan/jodit).
CVSS VectorVendor: https://github.com/xdan/jodit
Lifecycle Timeline
1DescriptionCVE.org
Summary
Jodit.modules.Helpers.set(chain, value, obj) walks the dot-separated chain, creating and following each path segment, without filtering prototype-mutating keys. A chain that begins with (or contains) __proto__, constructor, or prototype lets the final assignment reach and mutate Object.prototype (prototype pollution).
Affected
- Package:
jodit(npm) - Versions:
< 4.12.26 - Public API:
Jodit.modules.Helpers.set(chain, value, obj)
Proof of Concept
const { Jodit } = require('jodit');
delete Object.prototype.polluted;
Jodit.modules.Helpers.set('__proto__.polluted', 'yes', {});
console.log(({}).polluted); // "yes" (before the fix)
delete Object.prototype.polluted;Impact
Applications that pass a user-controlled or partially user-controlled key path into Jodit.modules.Helpers.set() could be vulnerable to prototype pollution (CWE-1321): unexpected property injection, logic bypass, denial of service, or secondary security issues.
Patch
Fixed in 4.12.26 by rejecting any chain whose segments include __proto__, constructor, or prototype, reusing the same guard introduced for Jodit.configure() in 4.12.18.
Credit
Responsibly reported by Junming Wu.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
More in Prototype Pollution
View allPrototype pollution in Adobe Acrobat Reader versions 24.001.30356, 26.001.21367 and earlier enables arbitrary code execu
All versions of package dojo are vulnerable to Prototype Pollution via the setObject function. Rated critical severity (
Prototype pollution in the farinspace Partners WordPress plugin (versions up to and including 0.2.0) enables remote unau
The package handlebars before 4.7.7 are vulnerable to Prototype Pollution when selecting certain compiling options to co
This affects the package ini before 1.3.6. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl
Prototype pollution vulnerability in 'deephas' versions 1.0.0 through 1.0.5 allows attacker to cause a denial of service
A Prototype Pollution issue in Cronvel Tree-kit v.0.7.4 and before allows a remote attacker to execute arbitrary code vi
A Prototype Pollution issue in Aliconnect /sdk v.0.0.6 allows an attacker to execute arbitrary code via the aim function
All versions of the package safe-eval are vulnerable to Prototype Pollution via the safeEval function, due to improper s
This affects the package vm2 before 3.9.4 via a Prototype Pollution attack vector, which can lead to execution of arbitr
Prototype Pollution in chargeover redoc v2.0.9-rc.69 allows attackers to execute arbitrary code or cause a Denial of Ser
alizeait unflatto <= 1.0.2 was discovered to contain a prototype pollution via the method exports.unflatto at /dist/inde
EUVD-2026-41138
GHSA-vpmm-x3fm-qr5c
NVD
CVE.org
EPSS
Exploit-DB