{"id":"CVE-2022-25979","published":"2023-01-31T05:00:02Z","modified":"2025-03-27T17:14:44Z","title":"Versions of the package jsuites before 5.0.1 are vulnerable to Cross-site Scripting (XSS) due to improper user-input…","vendor":null,"product":null,"tier":"tail","description":{"text":"Versions of the package jsuites before 5.0.1 are vulnerable to Cross-site Scripting (XSS) due to improper user-input sanitization in the Editor() function.\r\r\r","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00635,"percentile":0.51365,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-JSUITES-3226764","tags":[]},{"url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3253331","tags":[]},{"url":"https://github.com/jsuites/jsuites/issues/134","tags":[]},{"url":"https://github.com/jsuites/jsuites/commit/b31770d5fe91684a00177f629aab933139c32d9f","tags":[]}],"priority":{"score":14.1,"factors":[{"name":"EPSS percentile","points":10.27},{"name":"CVSS severity","points":3.78}]},"affectedVersions":[{"vendor":"n/a","product":"jsuites","versions":["< 5.0.1"]},{"vendor":"n/a","product":"org.webjars.npm:jsuites","versions":["all versions"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-27T17:14:18.462276Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"jsuites","vulnerableRanges":["<5.0.1"],"patched":["5.0.1"],"from":["GHSA-r4hg-4cpq-q57c"],"provenance":"source"}],"summary":{"text":"The flaw is cross-site scripting in the jsuites JavaScript package (versions before 5.0.1), caused by improper sanitization of user input in its Editor() function. An attacker who can supply input that reaches the Editor() function can inject script that runs in a victim's browser, and this requires network access and no authentication, but it does require the victim to interact with the affected content.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:42:09Z"},"euvd":{"id":"EUVD-2023-0540","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-jsuites-cve-2021-41086","parents":[{"from":"CVE-2021-41086","to":"CVE-2022-25979","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["dist/jsuites.js"],"commits":["https://github.com/jsuites/jsuites/commit/d47a6f4e143188dde2742f4cffd313e1068ad3b3","https://github.com/jsuites/jsuites/commit/fe1d3cc5e339f2f4da8ed1f9f42271fdf9cbd8d2","https://github.com/jsuites/jsuites/commit/b31770d5fe91684a00177f629aab933139c32d9f"],"basis":"rarely changed file"},{"kind":"similar","provenance":"machine","score":0.48,"basis":"same package + description similarity"}]}]}}