preact@10.0.0-alpha.0 vulnerabilities

Fast 3kb React-compatible Virtual DOM library.

Direct Vulnerabilities

Known vulnerabilities in the preact package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Deserialization of Untrusted Data

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.

How to fix Deserialization of Untrusted Data?

Upgrade preact to version 10.0.0-beta.1 or higher.

>=10.0.0-alpha.0 <10.0.0-beta.1