Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

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

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

Description

CVE-2026-24737 is a high-severity vulnerability in jsPDF versions prior to 4. 1. 0, a JavaScript library used to generate PDFs. The flaw arises from improper encoding or escaping of output (CWE-116) in the Acroform module, specifically in methods that handle form field options and appearance states. Unsanitized user input can lead to injection of arbitrary PDF objects, including JavaScript actions that execute when the PDF is opened, potentially enabling code execution or malicious behavior. The vulnerability requires no privileges but does require user interaction to open the crafted PDF. It affects all applications using vulnerable jsPDF versions to generate PDFs with Acroform fields. The issue has been fixed in version 4. 1. 0.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/10/2026, 11:12:37 UTC

Technical Analysis

CVE-2026-24737 is a vulnerability in the parallax jsPDF library, versions prior to 4.1.0, that stems from improper encoding or escaping of output (CWE-116) in the Acroform module. The affected API members include AcroformChoiceField.addOption, AcroformChoiceField.setOptions, AcroFormCheckBox.appearanceState, and AcroFormRadioButton.appearanceState. These methods allow user-controlled input to be injected directly into PDF objects without proper sanitization. An attacker can exploit this by crafting malicious input that injects arbitrary PDF objects, such as JavaScript actions embedded within the PDF. When a victim opens the malicious PDF, the embedded JavaScript executes, potentially leading to code execution or other malicious activities like phishing, data exfiltration, or further exploitation of the victim's environment. The vulnerability does not require any privileges or authentication but does require the victim to open the crafted PDF, making user interaction necessary. The vulnerability has been assigned a CVSS v3.1 score of 8.1 (high severity), reflecting its network attack vector, low attack complexity, no privileges required, user interaction required, and high impact on confidentiality and integrity. No known exploits are currently reported in the wild, but the risk remains significant due to the widespread use of jsPDF in web applications for PDF generation. The issue was publicly disclosed in early 2026 and fixed in jsPDF version 4.1.0. Organizations using jsPDF to generate PDFs with Acroform fields should urgently update to the patched version and review input sanitization practices to prevent injection of malicious content.

Potential Impact

The vulnerability allows attackers to inject arbitrary JavaScript into PDFs generated by vulnerable jsPDF versions, which executes upon opening the document. This can lead to unauthorized code execution, data theft, phishing attacks, or further exploitation of the victim's system. For European organizations, this poses a significant risk especially in sectors where PDF generation is automated and distributed to external users, such as finance, legal, government, and healthcare. Confidentiality and integrity of sensitive information can be compromised, potentially leading to data breaches and regulatory non-compliance under GDPR. The attack requires no authentication but does require the victim to open the malicious PDF, which could be delivered via email or other document-sharing channels. The widespread use of jsPDF in web applications increases the attack surface. Additionally, compromised PDFs could damage organizational reputation and trust. Although no exploits are currently known in the wild, the vulnerability’s high severity and ease of exploitation make it a critical concern for European entities relying on jsPDF.

Mitigation Recommendations

1. Immediately upgrade all instances of jsPDF to version 4.1.0 or later, where the vulnerability is fixed. 2. Implement strict input validation and sanitization for all user-supplied data passed to Acroform-related APIs, especially addOption, setOptions, and appearanceState properties. 3. Employ Content Security Policy (CSP) and PDF viewer security settings to restrict or disable JavaScript execution within PDFs where feasible. 4. Educate users to be cautious when opening PDFs from untrusted sources and implement email filtering to detect and block potentially malicious PDFs. 5. Conduct code audits and penetration testing focused on PDF generation components to identify and remediate similar injection risks. 6. Monitor security advisories and threat intelligence feeds for any emerging exploits targeting this vulnerability. 7. Where possible, avoid using dynamic JavaScript actions within PDFs unless absolutely necessary. 8. For web applications, consider sandboxing PDF generation processes to limit potential impact of exploitation.

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

Threat ID: 69813005f9fa50a62f63a3e4

Added to database: 2/2/2026, 11:15:17 PM

Last enriched: 2/10/2026, 11:12:37 AM

Last updated: 3/23/2026, 7:54:23 PM

Views: 147

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