CVE-2026-82867: @pdfme/schemas before 5.5.9 Cross-Site Scripting via Select

Published Aug 31, 2026
·
Updated

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

Affected Software

1 affected component
npm/@pdfme/schemas<5.5.9

Event History

Aug 31, 2026
CVE Published
via MITRE·08:46 AM
Data Sourced
via MITRE·08:46 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Applications using @pdfme/schemas versions before 5.5.9 are exposed when users open or render attacker-supplied templates containing Select schema option values.

2

What does an attacker need to exploit it?

An attacker needs to supply a malicious template with crafted Select option values containing HTML and JavaScript. Exploitation requires a user to interact with the malicious content in their browser.

3

How can I determine whether my application is affected?

Check whether your application uses @pdfme/schemas earlier than 5.5.9 and whether it accepts, loads, or renders templates from untrusted sources. Inspect Select schema option values for HTML or JavaScript content.

4

What should be done if upgrading is not immediately possible?

Do not accept untrusted templates, or reject and sanitize Select option values so they cannot contain HTML or JavaScript before rendering. The vulnerable behavior occurs when option values are interpolated through innerHTML.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203