Medium
Security advisory
All affected versions <2.0.0 of package jspdf are vulnerable to Cross-site Scripting (XSS). It is possible to inject JavaScript code via the html method.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-7690
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 08:45 UTC · Revision 1
Source evidence
All affected versions <2.0.0 of package jspdf are vulnerable to Cross-site Scripting (XSS). It is possible to inject JavaScript code via the html method.
osv:CVE-2020-7690
Complete source record
{
"id": "19fe63fd0b96c460493c7157e2c537fe99aace6808b9068aad36e325e05d44b6",
"url": "https://osv.dev/vulnerability/CVE-2020-7690",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-7690",
"summary": "All affected versions <2.0.0 of package jspdf are vulnerable to Cross-site Scripting (XSS). It is possible to inject JavaScript code via the html method.",
"evidence": "osv:CVE-2020-7690",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2020-7690",
"aliases": [
"CVE-2020-7690",
"GHSA-vh59-v9r5-4mh4",
"SNYK-JS-JSPDF-575256"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/parallax/jsPDF",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "4497d22f4bcbcc794cc8364e26b1986d787ed753"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:parall:jspdf:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.0.0"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v1.5.3",
"v1.5.2",
"v1.5.1",
"v1.5.0",
"v1.4.1",
"v1.4.0",
"v.1.4.0",
"v1.3.5",
"1.3.4",
"v1.3.4",
"v1.3.3",
"v1.3.0",
"v1.2.61",
"v1.2.60",
"1.1.135",
"v1.0.272",
"v1.0.178",
"v1.0.150",
"v1.0.138",
"v1.0.119",
"v1.0.116",
"v1.0.115",
"v1.0.106",
"v0.9.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-7690.json"
}
},
{
"ranges": [
{
"repo": "https://github.com/parallax/jspdf",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "4497d22f4bcbcc794cc8364e26b1986d787ed753"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:parall:jspdf:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.0.0"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v1.5.3",
"v1.5.2",
"v1.5.1",
"v1.5.0",
"v1.4.1",
"v1.4.0",
"v.1.4.0",
"v1.3.5",
"1.3.4",
"v1.3.4",
"v1.3.3",
"v1.3.0",
"v1.2.61",
"v1.2.60",
"1.1.135",
"v1.0.272",
"v1.0.178",
"v1.0.150",
"v1.0.138",
"v1.0.119",
"v1.0.116",
"v1.0.115",
"v1.0.106",
"v0.9.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-7690.json"
}
}
],
"modified": "2026-10-24T10:50:04.003838501Z",
"provider": "osv",
"references": [
"https://github.com/MrRio/jsPDF/issues/2795",
"https://snyk.io/vuln/SNYK-JS-JSPDF-575256"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-7690",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 441923,
"published_at": "2020-07-06T13:15:10.61+00:00"
}