CVE-2022-25979 json
jSuites subect to Cross-site Scripting
published 3y ago modified 4mo ago also GHSA-r4hg-4cpq-q57c , EUVD-2023-0540
- cvss
- 5.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 49%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
Is CVE-2022-25979 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
0.62% chance of exploitation in the next 30 days, higher than 49% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- security.snyk.io https://security.snyk.io/vuln/SNYK-JS-JSUITES-3226764 referenced PoC, tagged "exploit" by a source, unverified
- security.snyk.io https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3253331 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P |
| CNA | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | jsuites | <5.0.1 |
5.0.1 |
Affected products
- n/a jsuites
- n/a org.webjars.npm:jsuites
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/jsuites/jsuites/commit/b31770d5fe91684a00177f629aab933139c32d9f
web, patch, third-party-advisory
-
security.snyk.io
/vuln/SNYK-JS-JSUITES-3226764
web, exploit, third-party-advisory
-
security.snyk.io
/vuln/SNYK-JAVA-ORGWEBJARSNPM-3253331
web, exploit, third-party-advisory
-
github.com
/jsuites/jsuites/issues/134
web, issue-tracking, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-25979
advisory
-
github.com
/jsuites/jsuites
package
Sources
- CVE List CVE-2022-25979
- GitHub Advisory GHSA-r4hg-4cpq-q57c
- NVD CVE-2022-25979
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.