Vulnerability library
Security checkMarch 18, 2026

Cross-Site Scripting (XSS) via Select Schema Option Value Injection in @pdfme/schemas

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpm@pdfme/schemas

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

The Select schema plugin in @pdfme/schemas constructs HTML from template-defined option values using unsanitized string interpolation and sets it via innerHTML, enabling arbitrary JavaScript execution.

Recommendation

Update the @pdfme/schemas package to the latest compatible version. Followings are version details:

  • Affected version(s): <= 5.5.8
  • Patched version(s): 5.5.9

References

Could your website be exposed too?

SmartScanner can check your website for Cross-Site Scripting (XSS) via Select Schema Option Value Injection in @pdfme/schemas and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated March 18, 2026