{"id":"CVE-2022-0341","published":"2022-03-14T04:10:09Z","modified":"2024-08-02T23:25:40Z","title":"Cross-site Scripting (XSS) - Stored in vanessa219/vditor","vendor":"vanessa219","product":"vanessa219/vditor","tier":"tail","description":{"text":"Cross-site Scripting (XSS) - Stored in GitHub repository vanessa219/vditor prior to 3.8.12.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.6,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00471,"percentile":0.41649,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://huntr.dev/bounties/fa546b57-bc15-4705-824e-9474b616f628","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/vanessa219/vditor/commit/219f8a9e272aba3cbc0096a82cac776532dbb9e5","tags":["x_refsource_MISC"]}],"priority":{"score":12.9,"factors":[{"name":"EPSS percentile","points":8.33},{"name":"CVSS severity","points":4.62}]},"vendorSlug":"vanessa219","affectedVersions":[{"vendor":"vanessa219","product":"vanessa219/vditor","versions":[">= unspecified, < 3.8.12"]}],"affected":[{"ecosystem":"npm","package":"vditor","vulnerableRanges":["<3.8.11"],"patched":["3.8.11"],"from":["GHSA-pq37-4c4g-v38c"],"provenance":"source"}],"summary":{"text":"A stored cross-site scripting flaw exists in the vanessa219/vditor GitHub repository (the vditor product from vendor vanessa219) in versions prior to 3.8.12. An attacker with low-privilege local access and a user interaction-free path can plant script that is stored and later executed in other users' browsers, with the attacker needing an account on the system to do so.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:46:06Z"},"euvd":{"id":"EUVD-2022-1501","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-vanessa219-vditor-cve-2021-4103","parents":[{"from":"CVE-2021-4103","to":"CVE-2022-0341","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/js/lute/lute.min.js"],"commits":["https://github.com/vanessa219/vditor/commit/8d4d0889dd72b2f839e93a49db3da3a370416c7d","https://github.com/vanessa219/vditor/commit/219f8a9e272aba3cbc0096a82cac776532dbb9e5"],"basis":"rarely changed file"},{"kind":"similar","provenance":"machine","score":1.0,"basis":"same product + CWE + description similarity"}]}],"children":[{"from":"CVE-2022-0341","to":"CVE-2022-0350","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:vditor","fromFixed":"3.8.11","toFixed":"3.8.13","daysApart":17},{"kind":"same-code","provenance":"machine","files":["src/js/lute/lute.min.js"],"commits":["https://github.com/vanessa219/vditor/commit/219f8a9e272aba3cbc0096a82cac776532dbb9e5","https://github.com/vanessa219/vditor/commit/e912e36ea98251d700499b1ac7702708d3398476"],"basis":"rarely changed file"},{"kind":"similar","provenance":"machine","score":1.0,"basis":"same product + CWE + description similarity"}]}],"packageHistory":[{"cve":"CVE-2021-32855","published":"2023-02-20","fixed":"3.8.7","kev":false},{"cve":"CVE-2021-4103","published":"2022-01-23","fixed":"3.8.11","kev":false},{"cve":"CVE-2022-0341","published":"2022-03-14","fixed":"3.8.11","kev":false},{"cve":"CVE-2022-0350","published":"2022-03-31","fixed":"3.8.13","kev":false}],"package":"npm:vditor"}}