CVE-2022-25979
MEDIUM 6.1CVSS 3.1jSuites subect to Cross-site Scripting
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.
- Published
- 31 Jan 2023
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-r4hg-4cpq-q57c
- Sources
- NVDJSONOSV GHSA-r4hg-4cpq-q57cJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | jsuites | jsuitescpe:2.3:a:jsuites:jsuites:*:*:*:*:*:*:*:* |
< 5.0.1 | 5.0.1 |
| OSV | npm | jsuites | < 5.0.1 | 5.0.1 |
References
- https://github.com/jsuites/jsuites/commit/b31770d5fe91684a00177f629aab933139c32d9f · Patch, Third Party Advisory, WEB
- https://github.com/jsuites/jsuites/issues/134 · Issue Tracking, Third Party Advisory, WEB
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3253331 · Exploit, Third Party Advisory, WEB
- https://security.snyk.io/vuln/SNYK-JS-JSUITES-3226764 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-25979 · ADVISORY
- https://github.com/jsuites/jsuites · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 31 Jan 2023)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 31 Jan 2023)