CVE-2026-82865 pdfme schemas before 5.5.10 Cross-Site Scripting via i18n Label
Attackers can inject arbitrary JavaScript via unsanitized i18n labels in pdfme schemas, leading to code execution when users interact with specific fields.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-82865?
CVE-2026-82865 is a low-severity cross-site scripting vulnerability in pdfme schemas, published on 31 Aug 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
pdfme schemas before 5.5.10 contains a cross-site scripting vulnerability in the multiVariableText property panel that assigns unsanitized i18n label values to innerHTML. Attackers who control label overrides through options.labels can inject arbitrary JavaScript that executes when users open the Designer and select a multiVariableText field without variable placeholders.
Weakness: CWE-79
Which versions are affected by CVE-2026-82865?
2 open source packages ship an affected version, including @pdfme/schemas.
| Package | Affected | Fixed in |
|---|---|---|
@pdfme/schemas npm | All versions | 5.5.10 |
@pdfme/schemas npm | All versions | 5.5.10 |
How do I fix CVE-2026-82865?
Upgrade @pdfme/schemas to 5.5.10 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-82865 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-82865 exists.
Sources
Also known as GHSA-v7hf-w8f6-4v98, GHSA-xgx4-2wgv-4jhm.