What’s Vulnerable › Vulnerabilities

CVE-2026-82868: @pdfme/schemas before 5.5.9 Cross-Site Scripting via SVG

Description

@pdfme/schemas before 5.5.9 contains a cross-site scripting vulnerability in the SVG schema plugin that renders user-supplied SVG content directly to innerHTML without sanitization. Attackers can inject malicious SVG with embedded scripts, event handlers, or foreignObject elements to execute arbitrary JavaScript in users' browsers when viewing or filling templates.

Affected products

How to fix

Upgrade to a fixed version: pdfme schemas 5.5.9. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-82868 or the next vulnerability affects your stack