Skip to content

Cross-site Scripting in Scratch-Svg-Renderer

Moderate severity GitHub Reviewed Published Jan 8, 2022 to the GitHub Advisory Database • Updated Feb 3, 2023

Package

npm scratch-svg-renderer (npm)

Affected versions

<= 0.2.0

Patched versions

None

Description

A DOM-based cross-site scripting (XSS) vulnerability in Scratch-Svg-Renderer v0.2.0 allows attackers to execute arbitrary web scripts or HTML via a crafted sb3 file.

References

Published by the National Vulnerability Database Jan 6, 2022
Reviewed Jan 7, 2022
Published to the GitHub Advisory Database Jan 8, 2022
Last updated Feb 3, 2023

Severity

Moderate

EPSS score

Exploit Prediction Scoring System (EPSS)

This score estimates the probability of this vulnerability being exploited within the next 30 days. Data provided by FIRST.
(55th percentile)

Weaknesses

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. Learn more on MITRE.

CVE ID

CVE-2020-27428

GHSA ID

GHSA-h3vq-wv8j-36gw
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.