GHSA-h3q6-jfrg-3x6qCritical

survey-pdf Upgraded jsPDF Version Due to Security Vulnerability

Published
February 4, 2026
Last Modified
February 5, 2026

🔗 CVE IDs covered (1)

📋 Description

The following security vulnerability was identified in jsPDF versions <=3.0.4: Local File Inclusion/Path Traversal.

Impact

Since SurveyJS PDF Generator depends on jsPDF, any project using survey-pdf v1.12.58 and lower or v2.5.4 and lower could be exposed to this vulnerability.

Solution

SurveyJS PDF Generator has upgraded jsPDF to version >= 4.0.0 and included the fix in the following survey-pdf releases:

Action

Users should upgrade survey-pdf in their projects to v1.12.59+ or v2.5.5+ immediately.

Notes

No other survey-pdf dependencies are affected. This update is fully backward-compatible with previous survey-pdf releases.

🎯 Affected products2

  • npm/survey-pdf:<= 1.12.58
  • npm/survey-pdf:>= 2.0.0, <= 2.5.4

🔗 References (4)