CVE-2026-55886: jodit Prototype Pollution Vulnerability

MODERATE
Advisory Identifier: GHSA-vpmm-x3fm-qr5c
CWE-1321
Published
Advisory Summary

CVE-2026-55886 is a MODERATE prototype pollution vulnerability (CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')) affecting jodit libraries in the npm ecosystem. The issue involves prototype pollution in jodit via jodit.modules.helpers.set(). Remediation is available by upgrading affected packages to version 4.12.26.

CVE-2026-55886 at a Glance

CVE Identifier CVE-2026-55886
GHSA Identifier GHSA-vpmm-x3fm-qr5c
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
Affected Product jodit
Package Ecosystem npm
Published Date
Last Updated

How to Fix CVE-2026-55886

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.

jodit fixed: 4.12.26
npm install jodit@4.12.26
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 jodit

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2026-55886, 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.26), 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

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

CVE-2026-55886 Affected jodit Versions

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

References

Frequently Asked Questions

What is CVE-2026-55886?
CVE-2026-55886 is a security vulnerability in jodit involving Prototype pollution in Jodit via Jodit.modules.Helpers.set() under CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution').
Which jodit versions are affected?
Affected versions include releases prior to 4.12.26 across affected packages: jodit.
What version fixes CVE-2026-55886?
Upgrading to 4.12.26 (or the latest patched release for your respective branch) resolves the vulnerability.
Is jodit affected?
Yes, jodit is affected in releases prior to 4.12.26. Upgrade your dependency to 4.12.26 or later.
What CWE is associated with CVE-2026-55886?
CVE-2026-55886 is classified under CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') (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.).
How can I check npm dependencies for CVE-2026-55886?
Run the dependency tree command: 'npm ls jodit'. 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-vpmm-x3fm-qr5c",
  "modified" : "2026-07-31T14:32:34Z",
  "published" : "2026-06-18T13:05:01Z",
  "aliases" : [ "CVE-2026-55886" ],
  "summary" : "jodit: Prototype pollution in Jodit via Jodit.modules.Helpers.set()",
  "details" : "### Summary\n`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).\n\n### Affected\n- Package: `jodit` (npm)\n- Versions: `< 4.12.26`\n- Public API: `Jodit.modules.Helpers.set(chain, value, obj)`\n\n### Proof of Concept\n```js\nconst { Jodit } = require('jodit');\ndelete Object.prototype.polluted;\nJodit.modules.Helpers.set('__proto__.polluted', 'yes', {});\nconsole.log(({}).polluted); // \"yes\" (before the fix)\ndelete Object.prototype.polluted;\n```\n\n### Impact\nApplications 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.\n\n### Patch\nFixed 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.\n\n### Credit\nResponsibly reported by Junming Wu.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/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.26"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/xdan/jodit/security/advisories/GHSA-vpmm-x3fm-qr5c"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-55886"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/xdan/jodit"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-1321" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-06-18T13:05:01Z",
    "nvd_published_at" : "2026-07-01T21:17:04Z"
  }
}