Skip to content
OpenAdvisories
Medium · 6.1 CVE-2026-82868 EUVD-2026-68403GHSA-87v3-4cfp-cm76GHSA-9f44-gwhq-mr2g

@pdfme/schemas before 5.5.9 Cross-Site Scripting via SVG

Published Aug 31, 2026 · Updated Oct 8, 2026 · Assigned by VulnCheck

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

VendorProductAffectedFixed
pdfme schemas < 5.5.9 5.5.9

Affected packages

EcosystemPackageAffectedFixedRecord
npm @pdfme/schemas < 5.5.9 5.5.9 GHSA-87v3-4cfp-cm76

References