CVE-2026-54756: Jodit Jodit Has Prototype Pollution Vulnerability
MODERATECVE-2026-54756 is a MODERATE jodit has prototype pollution vulnerability (CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')) affecting Jodit libraries in the npm ecosystem. The issue involves jodit has prototype pollution via jodit.configure() / configmerge. Remediation is available by upgrading affected packages to version 4.12.18.
CVE-2026-54756 at a Glance
How to Fix CVE-2026-54756
To remediate this vulnerability, upgrade all affected Jodit dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install jodit@4.12.18
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls jodit
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-54756, inspect your project dependencies using npm:
npm ls jodit
Analyze the terminal output to locate any version of Jodit in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.12.18), your application is affected.
Note: The npm ls jodit 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-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution'), where the product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype. In Jodit, 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
CVE-2026-54756 Affected Jodit Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
jodit
|
npm |
< 4.12.18
|
4.12.18
|
References
Frequently Asked Questions
What is CVE-2026-54756?
Which Jodit versions are affected?
What version fixes CVE-2026-54756?
Is jodit affected?
What CWE is associated with CVE-2026-54756?
How can I check npm dependencies for CVE-2026-54756?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-5957-5c94-3v7w",
"modified" : "2026-07-31T19:10:17Z",
"published" : "2026-07-31T19:10:16Z",
"aliases" : [ "CVE-2026-54756" ],
"summary" : "Jodit has prototype pollution via Jodit.configure() / ConfigMerge",
"details" : "### Summary\n`Jodit.configure(options)` — and the internal `ConfigMerge` / `ConfigProto` helpers — merged user-supplied options into the editor configuration without filtering prototype-mutating keys. A payload nested under an existing plain-object option such as `controls` could reach and mutate `Object.prototype` (prototype pollution).\n\n### Affected\n- Package: `jodit` (npm)\n- Versions: `< 4.12.18`\n- Public API: `Jodit.configure(options)`\n\n### Proof of Concept\n```js\nimport { Jodit } from 'jodit';\ndelete Object.prototype.polluted;\nJodit.configure(JSON.parse('{\"controls\":{\"__proto__\":{\"polluted\":\"yes\"}}}'));\nconsole.log(({}).polluted); // \"yes\" (before the fix)\ndelete Object.prototype.polluted;\n```\n\n### Impact\nApplications that pass user-controlled or partially user-controlled configuration into `Jodit.configure()` could be vulnerable to prototype pollution: unexpected property injection, logic bypass, denial of service, or secondary security issues.\n\n### Patch\nFixed in 4.12.18 by rejecting `__proto__`, `constructor`, and `prototype` at every merge level in `ConfigMerge` and `ConfigProto`.\n\n### Credit\nResponsibly reported by Junming Wu.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "jodit"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.12.18"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/xdan/jodit/security/advisories/GHSA-5957-5c94-3v7w"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-54756"
}, {
"type" : "WEB",
"url" : "https://github.com/xdan/jodit/commit/d298397bc993793b17145806c15f7dae53f90104"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/xdan/jodit"
}, {
"type" : "WEB",
"url" : "https://github.com/xdan/jodit/releases/tag/4.12.18"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1321" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-07-31T19:10:16Z",
"nvd_published_at" : "2026-07-01T21:17:03Z"
}
}