Deserialization of Untrusted Data Affecting preact package, versions >=10.0.0-alpha.0 <10.0.0-beta.1
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-JS-PREACT-174475
- published 23 Apr 2019
- disclosed 9 Apr 2019
- credit Jovi De Croock
How to fix?
Upgrade preact
to version 10.0.0-beta.1 or higher.
Overview
preact is a fast 3kB alternative to React with the same modern API.
Affected versions of this package are vulnerable to Deserialization of Untrusted Data when inserting a JSON object. This vulnerability occurs when a JSON object is passed to a HTML document's createElement
method without validation, allowing insertion of objects with the same attributes.
References
CVSS Scores
version 3.1