Appsecure logo

CVE-2026-25755: High Vulnerability in Parall jsPDF

A high-severity vulnerability in Parall jsPDF library allows attackers to inject arbitrary PDF objects via the addJS method, leading to potential document tampering. Organizations must prioritize patching to mitigate risks associated with this vulnerability.

HIGHPublic ExploitCVSS 8.1 · Published February 19, 2026

Not a customer? See how AppSecure simulates real world attacks to protect your infrastructure.

Speak to Experts

This vulnerability allows an attacker to inject arbitrary PDF objects into documents generated by the jsPDF library prior to version 4.2.0. The vulnerability arises from user control over the argument of the `addJS` method, allowing crafted payloads to execute malicious actions or alter document structures, impacting users who open the generated PDFs. The CVSS score of 8.1 indicates a high severity level, emphasizing the importance of addressing this flaw quickly.

Risk to organizations includes potential unauthorized access to sensitive information and document integrity violations. Attackers may leverage this vulnerability to craft malicious PDFs that exploit unsuspecting users, leading to broader security implications. Organizations should prioritize patching immediately.

The vulnerability has been fixed in jsPDF version 4.2.0. In the interim, a workaround involves escaping parentheses in user-provided JavaScript code before passing them to the `addJS` method. Failing to implement the patch or workaround could expose organizations to significant risk.

Given the nature of the vulnerability and its potential exploitation, organizations using jsPDF should assess their dependencies and implement the necessary updates to mitigate potential threats.

Vulnerability Details

The official CVE description indicates that the jsPDF library, a tool for generating PDFs in JavaScript, is affected by a vulnerability in its `addJS` method, allowing for arbitrary PDF object injection. The vulnerability is classified under CWE-94 (Code Injection) and CWE-116 (Improper Encoding or Escaping of Output).

The CVSS score of 8.1 indicates a high severity, reflecting the impact on confidentiality and integrity, with a network attack vector and low complexity, requiring no privileges but some user interaction.

Organizations are urged to apply the patch provided in version 4.2.0 of jsPDF, released on February 19, 2026, to ensure the vulnerability is effectively mitigated.

Technical Analysis

The root cause of this vulnerability is the lack of proper input validation and sanitization of user-provided JavaScript code within the `addJS` method. This oversight allows attackers to craft inputs that can break out of the intended context and inject malicious JavaScript code.

The attack vector is network-based, as the vulnerability can be exploited by an attacker who has the ability to generate PDF documents that will be opened by end users. The attack complexity is low, requiring minimal effort to exploit, and no privileges are required to trigger the vulnerability. However, user interaction is necessary, as the user must open the malicious PDF for the attack to succeed.

The potential impacts of this vulnerability are significant, with high confidentiality and integrity impact, as attackers can manipulate the document's content or structure. There is no availability impact associated with this vulnerability.

Risk & Impact Analysis

The real-world deployment risk associated with this vulnerability is considerable, as it allows for attacks that can compromise sensitive information embedded within PDFs. Organizations that utilize jsPDF in their applications may inadvertently expose users to risks without appropriate safeguards.

The potential blast radius includes any users who open the malicious PDFs, leading to a widespread security impact if the vulnerability is exploited in a targeted attack. Given the high CVSS score and the availability of public exploits, organizations should address this vulnerability in their priority patch cycle.

Organizations should also consider implementing monitoring controls to detect any unusual behavior associated with PDF generation and access. This includes logging and reviewing access to generated PDFs to identify potential abuse or exploitation attempts.

Exploitation Status

Signal

Status

Known Exploit

Yes

Public PoC

Yes

Actively Exploited

No

Ransomware Use

No

Affected Versions

The affected version of jsPDF is any version prior to 4.2.0. Organizations should ensure they upgrade to the latest version to mitigate this vulnerability.

Mitigation & Remediation

Organizations should immediately update to jsPDF version 4.2.0 or later to remediate this vulnerability. If an immediate upgrade is not possible, a temporary workaround involves escaping parentheses in user-provided JavaScript code before passing them to the `addJS` method.

In addition to applying patches, organizations should consider implementing configuration hardening to restrict input to the `addJS` method and monitor for unusual activities related to PDF generation.

For further support, organizations can engage in penetration testing to validate the effectiveness of their remediation strategies.

Detection Guidance

Organizations should monitor logs for indicators of exploitation attempts, such as unusual requests to generate PDFs with unexpected JavaScript content. Behavioral anomalies in PDF interactions should also be logged and reviewed.

AppSecure Threat Intelligence Insight

The long-term significance of CVE-2026-25755 highlights the importance of secure coding practices, especially in libraries that manipulate user input. This vulnerability is indicative of the broader trend of code injection vulnerabilities that continue to pose risks across various platforms.

As attackers increasingly exploit such vulnerabilities, security teams must prioritize secure coding training and vulnerability management programs to prevent similar issues from arising in the future.

For further insights into vulnerability management, organizations can refer to the vulnerability management program design and consider employing robust security measures across their applications.

Additionally, organizations should stay informed about the latest security trends and conduct regular assessments of their security posture. Engaging in penetration testing methodology can enhance their readiness against evolving threats.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Latest CVEs. Recently published vulnerabilities from the NVD database.

View all vulnerabilities
CVE IDSeverity
CVE-2025-65418HIGH
CVE-2025-65417MEDIUM
CVE-2025-65416MEDIUM
CVE-2025-65415MEDIUM
CVE-2025-61314HIGH

Protect Your Business with Hacker-Focused Approach.