Skip to main content
EPSS 0.3%top 83%

CVE-2026-82868: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in pdfme schemas

0
Medium
Published: 08/31/2026 (08/31/2026, 08:46:38 UTC)
Source: CVE Database V5
Vendor/Project: pdfme
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
Low
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
Low
Subsq. Integrity
Low
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Affected software

pdfme

schemas

Affected versions
>=0 <5.5.9

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/09/2026, 21:24:40 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses