High
electron-pdf 20.0.0 - Local File Read via Server Side XSS
Type: advisorySources: OSV
electron-pdf version 20.0.0 allows an external attacker to remotely obtain arbitrary local files. This is possible because the application does not validate the HTML content entered by the user.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-1648
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 08:05 UTC · Revision 1
Source evidence
electron-pdf 20.0.0 - Local File Read via Server Side XSS
core-osv · Original sourcePublished 20 Feb 2024, 00:01 UTC
electron-pdf version 20.0.0 allows an external attacker to remotely obtain arbitrary local files. This is possible because the application does not validate the HTML content entered by the user.
osv:CVE-2024-1648
Complete source record
{
"id": "bf48da9b60cadfc1ba07d00766383005ffd2e36826e3e01f2c1ba1c174061516",
"url": "https://osv.dev/vulnerability/CVE-2024-1648",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "electron-pdf 20.0.0 - Local File Read via Server Side XSS",
"summary": "electron-pdf version 20.0.0 allows an external attacker to remotely obtain arbitrary local files. This is possible because the application does not validate the HTML content entered by the user.",
"evidence": "osv:CVE-2024-1648",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2024-1648",
"aliases": [
"CVE-2024-1648",
"GHSA-3jcv-5f9p-2f2p"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/fraserxu/electron-pdf",
"type": "GIT",
"events": [
{
"introduced": "f2f3b9c45645ef513be5c4ef9cfbaff37a4891a9"
},
{
"last_affected": "f2f3b9c45645ef513be5c4ef9cfbaff37a4891a9"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:fraserxu:electron-pdf:20.0.0:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "20.0.0"
},
{
"last_affected": "20.0.0"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"20.0.0",
"v20.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-1648.json"
}
}
],
"modified": "2026-10-28T02:30:27.079574695Z",
"provider": "osv",
"references": [
"https://registry.npmjs.org",
"https://www.npmjs.com/package/electron-pdf/",
"https://fluidattacks.com/advisories/drake",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/1xxx/CVE-2024-1648.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-1648"
],
"provider_metadata": {
"cwe_ids": [
"CWE-79"
],
"cna_assigner": "Fluid Attacks",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "20.0.0"
},
{
"last_affected": "20.0.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/1xxx/CVE-2024-1648.json"
}
},
"related_cves": [
{
"value": "CVE-2024-1648",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 493608,
"published_at": "2024-02-20T00:01:50.68+00:00"
}