# CVE-2022-25979: jSuites subect to Cross-site Scripting

- Severity: Medium 5.4 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.66%, higher than 52% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2023-01-31T05:00:02.448Z
- Modified: 2026-06-17T04:34:32.927Z
- Also known as: GHSA-r4hg-4cpq-q57c
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: snyk

## Description

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.

(As written by CVE List.)

## Affected

- jsuites: before 5.0.1
- org.webjars.npm:jsuites: before *
- jsuites (npm): before 5.0.1
- jsuites jsuites: before 5.0.1

## Every score

- snyk: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://security.snyk.io/vuln/SNYK-JS-JSUITES-3226764> (exploit, third-party-advisory, web)
- <https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3253331> (exploit, third-party-advisory, web)
- <https://github.com/jsuites/jsuites/issues/134> (issue-tracking, third-party-advisory, web)
- <https://github.com/jsuites/jsuites/commit/b31770d5fe91684a00177f629aab933139c32d9f> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-25979> (advisory)
- <https://github.com/jsuites/jsuites> (package)

## Sources

- CVE List: [CVE-2022-25979](https://www.cve.org/CVERecord?id=CVE-2022-25979), CVE Terms of Use, modified 2025-03-27
- GitHub Advisory Database: [GHSA-r4hg-4cpq-q57c](https://github.com/advisories/GHSA-r4hg-4cpq-q57c), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-25979](https://nvd.nist.gov/vuln/detail/CVE-2022-25979), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-25979 · Whole record: https://cve.day/CVE-2022-25979.json · Rebuilt by cve.day 2026-11-25T22:58:18.441Z
