GHSA-36hm-qxxp-pg3m · Severity: high · Ecosystem: npm — Preact has JSON VNode Injection issue
Preact, a lightweight web development framework, JSON serialization protection to prevent Virtual DOM elements from being constructed from arbitrary JSON. A regression introduced in Preact 10.26.5 caused this protection to be softened. In applications where values from JSON payloads are assumed to be strings and passed unmodified to Preact as children, a specially-crafted JSON payload could be constructed that would be incorrectly treated as a valid VNode. When this chain of failures occurs it can result in HTML injection, which can allow arbitrary script execution if not mitigated by CSP or other means. Applications using affected Preact versions are vulnerable if they meet all of the following conditions: first, pass unmodified, unsanitized values from user-modifiable data sources (APIs, databases, local storage, etc.) directly into the render tree; second assume these values are strings but the data source could return actual JavaScript objects instead of JSON strings; and third, the data source either fails to perform type sanitization AND blindly stores/returns raw objects interchangeably with strings, OR is compromised (e.g., poisoned local storage, filesystem, or database). Versions 10.26.10, 10.27.3, and 10.28.2 patch the issue. The patch versions restore the previous strict equality checks that prevent JSON-parsed objects from being treated as valid VNodes. Other mitigations are available for those who cannot immediately upgrade. Validate input types, cast or validate network data, sanitize external data, and use Content Security Policy (CSP).
Conclusion & alert: CVE-2026-22028 is rated Exploit Available (50/100): CVSS High severity, with low exploitation likelihood (EPSS 0.05%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-02-19 | 0.04% | 0.05% | +0.01% |
| 2 | 2026-01-13 | 0.07% | 0.04% | -0.03% |
| 3 | 2026-01-09 | — | 0.07% | — |
Full EPSS history (3 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.2 | 4.0 | HIGH |
|
— | — | [email protected] |
| 6.1 | 3.1 | MEDIUM |
|
2.8 | 2.7 | [email protected] |
GHSA-36hm-qxxp-pg3m · Severity: high · Ecosystem: npm — Preact has JSON VNode Injection issue
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
unimportant | CVE-2026-22028 unimportant priority: Debian including 1 source packages (node-preact), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2026-22028 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2026-22028 |
suse
|
high | CVE-2026-22028 severity important: SUSE including 5 source package names (spacewalk-base, spacewalk-base-minimal, spacewalk-base-minimal-config, spacewalk-html, spacewalk-web), 8 product×package rows across 2 product lines (SUSE Manager Proxy LTS 4.3, SUSE Manager Server LTS 4.3): Known Not Affected 8. | https://www.suse.com/security/cve/CVE-2026-22028/ |
ubuntu
|
medium | CVE-2026-22028 medium priority: Ubuntu including 1 source packages (node-preact), 7 status rows across 7 suites (bionic, focal, jammy, noble, plucky, questing, upstream): needs-triage 6, ignored 1. | https://ubuntu.com/security/CVE-2026-22028 |
| URL | Tags |
|---|---|
| https://github.com/preactjs/preact/security/advisories/GHSA-36hm-qxxp-pg3m | Exploit Vendor Advisory Mitigation |