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.
Published: 2026-08-31
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Cross‑Site Scripting
Action: Patch Immediately
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

History

Tue, 01 Sep 2026 22:00:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Mon, 31 Aug 2026 21:45:00 +0000

Type Values Removed Values Added
First Time appeared Pdfme
Pdfme schemas
Vendors & Products Pdfme
Pdfme schemas

Mon, 31 Aug 2026 09:00:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-01T15:05:25.188Z

Reserved: 2026-08-31T08:37:53.170Z

Link: CVE-2026-82867

cve-icon Vulnrichment

Updated: 2026-09-01T15:05:18.522Z

cve-icon NVD

Status : Deferred

Published: 2026-08-31T09:17:07.410

Modified: 2026-09-10T15:53:23.707

Link: CVE-2026-82867

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-31T21:21:50Z

Weaknesses
  • CWE-79

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