CVE Catalog

CVE-2026-82868

MediumCVSS 6.1
Published: Updated: Translated: NVD NIST

Summary

@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.

Risk Assessment

The XSS risk may lead to session hijacking, data theft, or malware distribution within the application context.

Recommendation

It is recommended to upgrade @pdfme/schemas to version 5.5.9 or later, which includes a fix for this vulnerability.

Other vulnerabilities in @pdfme/schemas

See all
Original NVD description (English source)

@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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS