{"id":"GHSA-r4hg-4cpq-q57c","summary":"jSuites subect to Cross-site Scripting","details":"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.","aliases":["CVE-2022-25979"],"modified":"2023-11-08T04:08:53.125833Z","published":"2023-01-31T06:30:26Z","database_specific":{"cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2023-02-01T20:58:02Z","nvd_published_at":"2023-01-31T05:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25979"},{"type":"WEB","url":"https://github.com/jsuites/jsuites/issues/134"},{"type":"WEB","url":"https://github.com/jsuites/jsuites/commit/b31770d5fe91684a00177f629aab933139c32d9f"},{"type":"PACKAGE","url":"https://github.com/jsuites/jsuites"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3253331"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-JSUITES-3226764"}],"affected":[{"package":{"name":"jsuites","ecosystem":"npm","purl":"pkg:npm/jsuites"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"5.0.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/01/GHSA-r4hg-4cpq-q57c/GHSA-r4hg-4cpq-q57c.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}