VDB
GHSA-7x6v-j9x4-qf24
GHSA-7x6v-j9x4-qf24
PUBLISHED
CVSS 8.100000381469727 HIGH
jsPDF has a PDF Object Injection via FreeText color
Record from GitHub Advisory Database · Published March 17, 2026
jspdf is fixed in 4.2.1 (npm)
jsPDF has a PDF Object Injection via FreeText color
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| jspdf | npm | 4.2.1 |
| opensearch-dashboards-3 | Chainguard | 3.5.0-r9 |
| opensearch-dashboards-2 | Chainguard | 2.19.5-r2 |
| opensearch-dashboards-3 | Wolfi | 3.5.0-r9 |
| opensearch-dashboards-2-fips | Chainguard | 2.19.5-r1 |
| opensearch-dashboards-3-fips | Chainguard | 3.5.0-r6 |
| opensearch-dashboards-2 | Wolfi | 2.19.5-r2 |
Risk scores
CVSS 3.1
8.100000381469727
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Affected products
| Vendor | Product | Versions |
|---|---|---|
| chainguard | opensearch-dashboards-3 | 0 |
| chainguard | opensearch-dashboards-2 | 0 |
| npm | jspdf | 0 |
| wolfi | opensearch-dashboards-3 | 0 |
| chainguard | opensearch-dashboards-2-fips | 0 |
| chainguard | opensearch-dashboards-3-fips | 0 |
| wolfi | opensearch-dashboards-2 | 0 |
Timeline
- Mar 17, 2026 CVE Published
- Apr 29, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-7x6v-j9x4-qf24
vulnetix vdb fixes GHSA-7x6v-j9x4-qf24
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/GHSA-7x6v-j9x4-qf24/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/parallax/jsPDF/security/advisories/GHSA-7x6v-j9x4-qf24 url
- https://github.com/parallax/jsPDF/commit/4155c4819d5eca284168e51e0e1e81126b4f14b8 url
- https://nvd.nist.gov/vuln/detail/CVE-2026-31898 advisory
- https://github.com/parallax/jsPDF package
- https://github.com/parallax/jsPDF/blob/b1607a9391d4cd65ea7ade25998aea8345ae1be3/src/modules/annotations.js#L193-L208 url
- https://github.com/parallax/jsPDF/releases/tag/v4.2.1 url