Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2026-31898

27
FAUCET Score

CVE-2026-31898 is a medium-severity vulnerability (CVSS 6.5) affecting the jsPDF library prior to version 4.2.1. It allows remote attackers to inject arbitrary PDF objects, such as JavaScript actions, via unsanitized input to the `createAnnotation` method's `color` parameter. This could lead to malicious code execution when a user opens or interacts with the crafted PDF. The attack requires user interaction but has low complexity. There is currently no evidence of active exploitation, public exploit code, or significant community discussion regarding this vulnerability.

Impacted Technologies

VendorProductVersion(s)CPE
< 4.2.1CPE matchmatch criteria
cpe:2.3:a:parall:jspdf:*:*:*:*:*:node.js:*:*

CVSS Data

CVSS version used by this source: 3.1

8.1HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
NONE
Exploitability Score
2.8
Impact Score
5.2
CvssVersion
3.1

Exploit Intelligence

EPSS Score
0.36%
Probability of exploitation in next 30 days
EPSS Percentile
28.2%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0036 is in the 28th percentile among its peer group of 26,234 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.0 Mastodon, and 0.1 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (1)

npmpatch availablevia ghsa
Product: jspdfFixed in: 4.2.1

Vendor Advisories (1)

npmGHSA-7x6v-j9x4-qf24high

jsPDF has a PDF Object Injection via FreeText color

Mar 17, 2026

References

access.redhat.com / errata/RHSA-2026:7110
access.redhat.com / errata/RHSA-2026:7128
access.redhat.com / security/cve/CVE-2026-31898
bugzilla.redhat.com / show_bug.cgi
security.access.redhat.com / data/csaf/v2/vex/2026/cve-2026-31898.json
github.com / parallax/jsPDF/blob/b1607a9391d4cd65ea7ade25998aea8345ae1be3/src/modules/annotations.js
Patch
github.com / parallax/jsPDF/commit/4155c4819d5eca284168e51e0e1e81126b4f14b8
Patch
github.com / parallax/jsPDF/releases/tag/v4.2.1
Release Notes
github.com / parallax/jsPDF/security/advisories/GHSA-7x6v-j9x4-qf24
MitigationVendor Advisory