CVE-2022-25979
JavaScript vulnerability analysis and mitigation

Overview

CVE-2022-25979 affects versions of the jsuites package before 5.0.1, which contains a Cross-site Scripting (XSS) vulnerability due to improper user-input sanitization in the Editor() function. The vulnerability was disclosed on January 6, 2023, and published on January 30, 2023 (Snyk JS).

Technical details

The vulnerability is rated with a CVSS v3.1 base score of 6.1 (Medium) by NVD and 5.4 (Medium) by Snyk. The vulnerability exists due to insufficient sanitization of user input in the Editor() function, which could allow attackers to execute malicious scripts. The attack vector is network-based (AV:N), with low attack complexity (AC:L), requiring no privileges (PR:N) but needs user interaction (UI:R) (NVD).

Impact

If exploited, this XSS vulnerability could lead to the theft of cookies, session hijacking, exposure of sensitive information, access to privileged services and functionality, and potential malware delivery. The vulnerability affects both confidentiality and integrity with low impact, while there is no impact on availability (Snyk JS).

Mitigation and workarounds

The recommended mitigation is to upgrade jsuites to version 5.0.1 or higher. A patch has been released to address the vulnerability (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-55182CRITICAL10
  • JavaScriptJavaScript
  • react
NoYesDec 03, 2025
CVE-2025-66401CRITICAL9.8
  • JavaScriptJavaScript
  • mcp-watch
NoNoDec 01, 2025
CVE-2025-66412HIGH8.5
  • JavaScriptJavaScript
  • @angular/compiler
NoYesDec 01, 2025
CVE-2025-66415MEDIUM6.9
  • JavaScriptJavaScript
  • @fastify/reply-from
NoYesDec 01, 2025
CVE-2025-66405MEDIUM6.9
  • JavaScriptJavaScript
  • @portkey-ai/gateway
NoYesDec 01, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management