SB20260425215 - Input validation error in Preact
Published: April 25, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 security vulnerability.
1) Input validation error (CVE-ID: CVE-2026-22028)
The vulnerability allows a remote attacker to inject HTML.
The vulnerability exists due to improper input validation in the Preact render tree handling of children when processing unmodified user-controlled values from external data sources that are assumed to be strings but are actual JavaScript objects. A remote attacker can supply a specially crafted JSON payload to inject HTML.
Arbitrary script execution may be possible if the injected HTML is not otherwise constrained. Exploitation requires insecure type handling or a compromised data source, and the issue was not present in preact-render-to-string.
Remediation
Install update from vendor's website.