Skip to content
CVE PROGRAM SOURCE RECORD5.3 Medium

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

pdfme schemas

Default version status: unaffected

  • 0 to < 5.5.9affected
  • 5.5.9unaffected
pkg:npm/%40pdfme/schemas

References