CVE-2020-27428
JavaScript vulnerability analysis and mitigation

Overview

A DOM-based cross-site scripting (XSS) vulnerability was discovered in Scratch-Svg-Renderer version 0.2.0. The vulnerability allows attackers to execute arbitrary web scripts or HTML through a specially crafted sb3 file (NVD, CVE).

Technical details

The vulnerability has been assigned a CVSS v3.1 Base Score of 6.1 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N. The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation) (NVD).

Impact

If exploited, this vulnerability allows attackers to execute arbitrary web scripts or HTML in the context of the victim's browser session. This could lead to theft of sensitive information, session hijacking, or other malicious actions performed in the context of the affected user (NVD).

Mitigation and workarounds

A patch has been released that removes various event handlers that could be exploited. The fix includes removing multiple event handlers such as onbegin, onend, onrepeat, onabort, onerror, and many others through a comprehensive regex-based approach (GitHub Patch).

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