{"id":"CVE-2026-54756","aliases":["CVE-2026-54756","GHSA-5957-5c94-3v7w"],"related":[],"kind":"vulnerability","state":"published","title":"Jodit Editor: Prototype pollution via Jodit.configure() / ConfigMerge","summary":"Jodit Editor is a WYSIWYG editor with written in pure TypeScript file and image editing capabilities. In versions prior to 4.12.18, Jodit.configure(options) — and the internal ConfigMerge / ConfigProto helpers — merged user-supplied options into the editor configuration without filtering prototype-mutating keys, potentially causing a Prototype Pollution vulnerability. A payload nested under an existing plain-object option such as controls could reach and mutate Object.prototype. Applications that pass user-controlled or partially user-controlled configuration into Jodit.configure() may be vulnerable. This issue was fixed in version 4.12.18.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Jodit Editor is a WYSIWYG editor with written in pure TypeScript file and image editing capabilities. In versions prior to 4.12.18, Jodit.configure(options) — and the internal ConfigMerge / ConfigProto helpers — merged user-supplied options into the editor configuration without filtering prototype-mutating keys, potentially causing a Prototype Pollution vulnerability. A payload nested under an existing plain-object option such as controls could reach and mutate Object.prototype. Applications that pass user-controlled or partially user-controlled configuration into Jodit.configure() may be vulnerable. This issue was fixed in version 4.12.18.","source":"cvelist"},{"lang":"en","text":"### 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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Jodit Editor es un editor WYSIWYG escrito en TypeScript puro con capacidades de edición de archivos e imágenes. En versiones anteriores a la 4.12.18, Jodit.configure(options) - y los ayudantes internos ConfigMerge / ConfigProto - fusionaban opciones proporcionadas por el usuario en la configuración del editor sin filtrar claves que mutan el prototipo, lo que podría causar una vulnerabilidad de Prototype Pollution. Una carga útil anidada bajo una opción de objeto plano existente como controls podría alcanzar y mutar Object.prototype. Las aplicaciones que pasan configuración controlada por el usuario o parcialmente controlada por el usuario a Jodit.configure() pueden ser vulnerables. Este problema fue solucionado en la versión 4.12.18.","source":"nvd"}],"published":"2026-07-01T20:29:17.924Z","modified":"2026-10-25T16:10:00.147Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":6.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"}],"cwes":["CWE-1321"],"affected":[{"ranges":[{"version":"< 4.12.18","status":"affected"}],"vendor":"xdan","product":"jodit","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"4.12.18"}],"ecosystem":"npm","package":"jodit","purl":"pkg:npm/jodit","source":"ghsa"}],"references":[{"url":"https://github.com/xdan/jodit/security/advisories/GHSA-5957-5c94-3v7w","tags":["exploit","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54756","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/xdan/jodit/commit/d298397bc993793b17145806c15f7dae53f90104","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/xdan/jodit","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/xdan/jodit/releases/tag/4.12.18","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-07-02T14:41:06.814Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-54756","url":"https://www.cve.org/CVERecord?id=CVE-2026-54756","licence":"CVE Terms of Use","modified":"2026-07-02T14:41:32.037Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-5957-5c94-3v7w","url":"https://github.com/advisories/GHSA-5957-5c94-3v7w","licence":"CC-BY-4.0","modified":"2026-07-31T19:15:24.222Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-54756","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54756","licence":"Public domain","modified":"2026-10-25T16:10:00.147Z"}],"updatedAt":"2026-11-25T22:59:26.959Z","epss":{"score":0.00273,"percentile":0.21089,"date":"2026-12-01T12:00:22.000Z"}}