GHSA-h3q6-jfrg-3x6q

Suggest an improvement
Source
https://github.com/advisories/GHSA-h3q6-jfrg-3x6q
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-h3q6-jfrg-3x6q/GHSA-h3q6-jfrg-3x6q.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-h3q6-jfrg-3x6q
Aliases
  • CVE-2026-25630
Published
2026-02-04T20:07:34Z
Modified
2026-02-05T22:11:21Z
Severity
  • 9.2 (Critical) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N CVSS Calculator
Summary
survey-pdf Upgraded jsPDF Version Due to Security Vulnerability
Details

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.

Database specific
{
    "cwe_ids":  [
        "CWE-35",
        "CWE-73"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-02-04T20:07:34Z",
    "nvd_published_at":  "2026-02-05T19:15:56Z",
    "severity":  "CRITICAL"
}
References

Affected packages

npm / survey-pdf

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.12.59

Database specific

last_known_affected_version_range
"<= 1.12.58"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-h3q6-jfrg-3x6q/GHSA-h3q6-jfrg-3x6q.json"

npm / survey-pdf

Package

Affected ranges

Type
SEMVER
Events
Introduced
2.0.0
Fixed
2.5.5

Database specific

last_known_affected_version_range
"<= 2.5.4"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-h3q6-jfrg-3x6q/GHSA-h3q6-jfrg-3x6q.json"