CVE-2026-24737: CWE-116: Improper Encoding or Escaping of Output in parallax jsPDF
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].
AI Analysis
Technical Summary
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.
CVE-2026-24737: CWE-116: Improper Encoding or Escaping of Output in parallax 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
Affected software
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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.