CVE-2026-82867

@pdfme/schemas before 5.5.9 Cross-Site Scripting via Select

Published Aug 31, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
@pdfme/schemas before 5.5.9 contains a cross-site scripting vulnerability in the Select schema plugin that fails to sanitize option values before interpolating them into HTML via innerHTML. Attackers can supply malicious templates with crafted option values containing HTML and JavaScript to execute arbitrary code in users' browsers.

Analysis

AI-generated

Technical impact

@pdfme/schemas before version 5.5.9 contains a cross‑site scripting vulnerability in the Select schema plugin. The plugin fails to sanitize option values before interpolating them into HTML via innerHTML. Attackers can supply malicious templates with crafted option values containing HTML and JavaScript, allowing them to execute arbitrary code in users' browsers. The impact is code execution in the victim’s browser context, potentially exposing session data, credentials, or allowing further client‑side attacks.

Affected Systems

The vendor product affecting this vulnerability is pdfme:schemas. All releases of @pdfme/schemas prior to version 5.5.9 are impacted because the bug resides in the select plugin included in those releases. Versions 5.5.9 and later contain the fix.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity. Because no EPSS score is available and the vulnerability is not listed in CISA’s KEV catalog, there is no evidence of widespread exploitation yet, though the risk persists for users who load untrusted templates. Attackers can exploit the flaw through remote input by delivering malicious templates that inject unsanitized option values into the DOM via innerHTML. The likely attack vector is remote client‑side execution through user‑supplied data processed by an application that incorporates the vulnerable @pdfme/schemas library. CWE‑79 classifies this as an injection flaw that permits code injection.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade @pdfme/schemas to version 5.5.9 or later, which contains the fix for the unsanitized option values in the Select plugin.
  • Verify that no untrusted option values are inserted into the DOM using innerHTML. If necessary, replace innerHTML with textContent or a proper templating engine that escapes input.
  • Review all templates and data sources that are passed to the Select schema plugin to ensure they do not contain malicious markup, and apply input sanitization before rendering.

Generated by OpenCVE AI on August 31, 2026 at 10:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Pdfme
Pdfme schemas
Vendors & Products Pdfme
Pdfme schemas
Type Values Removed Values Added
Description @pdfme/schemas before 5.5.9 contains a cross-site scripting vulnerability in the Select schema plugin that fails to sanitize option values before interpolating them into HTML via innerHTML. Attackers can supply malicious templates with crafted option values containing HTML and JavaScript to execute arbitrary code in users' browsers.
Title @pdfme/schemas before 5.5.9 Cross-Site Scripting via Select
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.3, 'vector': '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'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 8, 2026, 3:25 PM
Reserved
Aug 31, 2026, 8:37 AM
Status
Deferred
Published
Aug 31, 2026, 9:17 AM
Modified
Oct 8, 2026, 4:17 PM