JavaScript execution via unsanitized SVG innerHTML
Published Aug 31, 2026 · Updated Aug 31, 2026
Cross-site scripting in pdfme @pdfme/schemas before 5.5.9 allows remote attackers to execute JavaScript through its SVG schema plugin. The viewer and read-only form renderer passes user-controlled SVG through structural validation to container.innerHTML without removing scripts, event handlers, or foreignObject content. Execution requires a user to view or fill an attacker-controlled template and runs in the embedding application's browser origin, exposing session data and form input to theft or page modification.
Summary
What happened
Cross-site scripting in pdfme @pdfme/schemas before 5.5.9 allows remote attackers to execute JavaScript through its SVG schema plugin. The viewer and read-only form renderer passes user-controlled SVG through structural validation to container.innerHTML without removing scripts, event handlers, or foreignObject content. Execution requires a user to view or fill an attacker-controlled template and runs in the embedding application's browser origin, exposing session data and form input to theft or page modification.
The record
- CVE
- CVE-2026-82868
- Published
- Aug 31, 2026
- Updated
- Aug 31, 2026
- Vendor
- pdfme
- Product
- @pdfme/schemas
- Classifications
- CWE-79, T1203
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Aug 31, 2026CVE publishedPublication date reported by the CVE source.
- Aug 31, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <5.5.9
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- GHSA-87v3-4cfp-cm76 SVG template proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo