Skip to main content
EPSS 0.5%top 57%

CVE-2026-24737: CWE-116: Improper Encoding or Escaping of Output in parallax jsPDF

0
High
VulnerabilityCVE-2026-24737cvecve-2026-24737cwe-116gcvecwe-917
Published: 02/02/2026 (02/02/2026, 20:29:05 UTC)
Source: CVE Database V5
Vendor/Project: parallax
Product: jsPDF

Description

jsPDF is a library to generate PDFs in JavaScript. Prior to 4.1.0, user control of properties and methods of the Acroform module allows users to inject arbitrary PDF objects, such as JavaScript actions. If given the possibility to pass unsanitized input to one of the following methods or properties, a user can inject arbitrary PDF objects, such as JavaScript actions, which are executed when the victim opens the document. The vulnerable API members are AcroformChoiceField.addOption, AcroformChoiceField.setOptions, AcroFormCheckBox.appearanceState, and AcroFormRadioButton.appearanceState. The vulnerability has been fixed in [email protected].

CVSS v3.1

Score 8.1high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Affected software

jspdf
pkg:npm/jspdf
Affected versions
<4.1.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/17/2026, 13:12:46 UTC

Technical Analysis

The vulnerability (CVE-2026-24737) in jsPDF affects versions prior to 4.1.0 and involves improper encoding or escaping of output in the Acroform module. Specifically, methods and properties such as AcroformChoiceField.addOption, AcroformChoiceField.setOptions, AcroFormCheckBox.appearanceState, and AcroFormRadioButton.appearanceState allow injection of arbitrary PDF objects including JavaScript actions. When a victim opens a maliciously crafted PDF, these injected JavaScript actions execute, leading to arbitrary code execution. The vulnerability is classified under CWE-116 (Improper Encoding or Escaping of Output) and CWE-917 (Improper Neutralization of Special Elements used in an Expression Language Statement). The issue has been fixed in jsPDF version 4.1.0, and Red Hat has released security advisories and updates for affected products.

Potential Impact

Successful exploitation allows an attacker to execute arbitrary JavaScript code within a PDF document when opened by a victim, potentially leading to arbitrary code execution. This compromises confidentiality and integrity of the victim's environment. The attack requires user interaction (opening a malicious PDF). There is no indication of availability impact. Red Hat products using jsPDF, such as RHACS, are affected and have been updated accordingly.

Mitigation Recommendations

A fix is available in jsPDF version 4.1.0. Users and vendors should upgrade to this version or later to remediate the vulnerability. Additionally, avoid processing untrusted or unverified PDF documents with applications using the vulnerable jsPDF versions. Ensure that any input passed to the Acroform module methods and properties is properly sanitized to prevent injection of arbitrary PDF objects and JavaScript actions. Red Hat has released updated images and advisories for affected products such as RHACS. Follow vendor advisories for applying patches and updates.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-01-26T19:06:16.059Z
Cvss Version
3.1
State
PUBLISHED
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-24737","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:4466","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:4467","vendor":"Red Hat"}]

Threat ID: 69813005f9fa50a62f63a3e4

Added to database: 02/02/2026, 23:15:17 UTC

Last enriched: 08/17/2026, 13:12:46 UTC

Last updated: 09/10/2026, 19:36:53 UTC

Views: 522

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses