GMS-2020-438: HTML Injection in preact
(updated )
Versions of preact
on prerelease tags alpha and beta are vulnerable to HTML Injection. Due to insufficient input validation the package allows attackers to inject JavaScript objects as virtual-dom nodes, which may lead to Cross-Site Scripting. This requires user input parsed with JSON.parse()
to be passed directly into JSX without sanitization. Upgrade to .
References
Detect and mitigate GMS-2020-438 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →