CVE-2026-82868: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in pdfme schemas
Description
CVE-2026-82868 is a cross-site scripting (XSS) vulnerability in the @pdfme/schemas package before version 5.5.9. The flaw exists in the SVG schema plugin, which renders user-supplied SVG content directly into innerHTML without proper sanitization. This allows attackers to inject malicious SVG elements containing scripts or event handlers that execute arbitrary JavaScript in users' browsers when they view or fill templates.
CVSS v4.0
Score 5.3medium
Affected software
pdfme
schemas
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in @pdfme/schemas (versions >=0 and <5.5.9) involves improper neutralization of input during web page generation. Specifically, the SVG schema plugin directly inserts user-supplied SVG content into innerHTML without sanitization, enabling cross-site scripting attacks. Malicious actors can exploit this by embedding scripts, event handlers, or foreignObject elements within SVG content, leading to arbitrary JavaScript execution in the context of the affected web application.
Potential Impact
Successful exploitation allows attackers to execute arbitrary JavaScript in the browsers of users interacting with affected templates. This can lead to typical XSS impacts such as session hijacking, credential theft, or unauthorized actions performed on behalf of the user. The CVSS 4.0 base score is 5.3 (medium severity), reflecting network attack vector, low complexity, no privileges required, but user interaction needed and low confidentiality and integrity impact.
Mitigation Recommendations
A fix is available in version 5.5.9 of @pdfme/schemas. Users should upgrade to version 5.5.9 or later to remediate this vulnerability. Until then, avoid rendering untrusted SVG content or implement additional sanitization controls on SVG inputs to prevent script injection.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-31T08:37:53.170Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a954466acd9273b49d7ddd2
Added to database: 08/31/2026, 09:07:50 UTC
Last enriched: 10/09/2026, 21:24:40 UTC
Last updated: 10/13/2026, 18:57:41 UTC
Views: 59
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.