REDHAT-BUG-2441016: High severity jsPDF jsPDF vulnerability
jsPDF is a library to generate PDFs in JavaScript. Prior to 4.2.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 property, a user can inject arbitrary PDF objects, such as JavaScript actions, which are executed when the victim hovers over the radio option. The vulnerability has been fixed in jsPDF.0. As a workaround, sanitize user input before passing it to the vulnerable API members.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
jsPDFto a version that resolves this vulnerability.Fixed in jsPDF.0 - Configuration
As a workaround, sanitize user input before passing it to the vulnerable API members/properties/methods of the Acroform module to prevent injection of arbitrary PDF objects (e.g., JavaScript actions).
Acroform module sanitize user input before passing to vulnerable API members/properties = enable
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2441016?
The severity of REDHAT-BUG-2441016 is classified as high, with a score of 7.
How do I fix REDHAT-BUG-2441016?
To fix REDHAT-BUG-2441016, upgrade jsPDF to version 4.2.0 or later.
What is the risk associated with REDHAT-BUG-2441016?
The risk associated with REDHAT-BUG-2441016 is categorized as risk level 33 due to potential arbitrary PDF object injection.
What vulnerabilities are introduced in jsPDF versions prior to 4.2.0 according to REDHAT-BUG-2441016?
Versions of jsPDF prior to 4.2.0 allow users to inject arbitrary PDF objects via unsanitized input, particularly affecting the Acroform module.
What is the impact of exploiting REDHAT-BUG-2441016?
Exploiting REDHAT-BUG-2441016 can enable attackers to execute malicious JavaScript actions within generated PDF files.