CVE-2026-82867 @pdfme/schemas before 5.5.9 Cross-Site Scripting via Select
Attackers can execute arbitrary JavaScript in users' browsers by supplying malicious templates with unsanitized option values in the Select schema plugin.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-82867?
CVE-2026-82867 is a medium-severity cross-site scripting vulnerability in pdfme schemas, published on 31 Aug 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
@pdfme/schemas before 5.5.9 contains a cross-site scripting vulnerability in the Select schema plugin that fails to sanitize option values before interpolating them into HTML via innerHTML. Attackers can supply malicious templates with crafted option values containing HTML and JavaScript to execute arbitrary code in users' browsers.
Weakness: CWE-79
Which versions are affected by CVE-2026-82867?
2 open source packages ship an affected version, including @pdfme/schemas.
| Package | Affected | Fixed in |
|---|---|---|
@pdfme/schemas npm | All versions | 5.5.9 |
@pdfme/schemas npm | All versions | 5.5.9 |
How do I fix CVE-2026-82867?
Upgrade @pdfme/schemas to 5.5.9 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-82867 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-82867 exists.
Sources
Also known as GHSA-q78q-xrxw-xgx6, GHSA-qq9g-96v4-m3cj.