Medium
pdfme has Sandbox Escape and Prototype Pollution vulnerabilities in pdfme expression evaluation
Type: advisorySources: OSV
pdfme is a TypeScript-based PDF generator and React-based UI. The expression evaluation feature in pdfme 5.2.0 to 5.4.0 contains critical vulnerabilities allowing sandbox escape leading to XSS and prototype pollution attacks. This vulnerability is fixed in 5.4.1.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-53626
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 09:38 UTC · Revision 1
Source evidence
pdfme has Sandbox Escape and Prototype Pollution vulnerabilities in pdfme expression evaluation
core-osv · Original sourcePublished 10 Jul 2025, 18:49 UTC
pdfme is a TypeScript-based PDF generator and React-based UI. The expression evaluation feature in pdfme 5.2.0 to 5.4.0 contains critical vulnerabilities allowing sandbox escape leading to XSS and prototype pollution attacks. This vulnerability is fixed in 5.4.1.
osv:CVE-2025-53626
Complete source record
{
"id": "e6c7866f92ddad496902aa1ec2dad96d58634eb725bd24b66e5c0fab3277a151",
"url": "https://osv.dev/vulnerability/CVE-2025-53626",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "pdfme has Sandbox Escape and Prototype Pollution vulnerabilities in pdfme expression evaluation",
"summary": "pdfme is a TypeScript-based PDF generator and React-based UI. The expression evaluation feature in pdfme 5.2.0 to 5.4.0 contains critical vulnerabilities allowing sandbox escape leading to XSS and prototype pollution attacks. This vulnerability is fixed in 5.4.1.",
"evidence": "osv:CVE-2025-53626",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2025-53626",
"aliases": [
"CVE-2025-53626",
"GHSA-54xv-94qv-2gfg"
],
"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/pdfme/pdfme",
"type": "GIT",
"events": [
{
"introduced": "7985367560093929dd6f834e1421e23d2ccfe56f"
},
{
"fixed": "0dd54739acff2c249ed68c001a896bee38f0fd85"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "5.2.0"
},
{
"fixed": "5.4.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "0dd54739acff2c249ed68c001a896bee38f0fd85"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"introduced": "0"
},
{
"fixed": "5.4.1"
}
],
"source": "DESCRIPTION"
}
]
}
}
],
"versions": [
"5.4.0",
"5.3.19",
"5.3.18",
"5.3.17",
"5.3.16",
"5.3.15",
"5.3.14",
"5.3.13",
"5.3.12",
"5.3.11",
"5.3.10",
"5.3.9",
"5.3.8",
"5.3.7",
"5.3.6",
"5.3.5",
"5.3.4",
"5.3.3",
"5.3.2",
"5.3.1",
"5.3.0-beta.0",
"5.3.0",
"5.2.16",
"5.2.15",
"5.2.14",
"5.2.13",
"5.2.12",
"5.2.11",
"5.2.10",
"5.2.9",
"5.2.8",
"5.2.7",
"5.2.5",
"5.2.4",
"5.2.3",
"5.2.2",
"5.2.1",
"5.2.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-53626.json"
}
}
],
"modified": "2026-10-28T02:30:27.673420061Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/53xxx/CVE-2025-53626.json",
"https://github.com/pdfme/pdfme/security/advisories/GHSA-54xv-94qv-2gfg",
"https://nvd.nist.gov/vuln/detail/CVE-2025-53626",
"https://github.com/pdfme/pdfme/commit/0dd54739acff2c249ed68c001a896bee38f0fd85"
],
"provider_metadata": {
"cwe_ids": [
"CWE-1321",
"CWE-79",
"CWE-94"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/53xxx/CVE-2025-53626.json"
}
},
"related_cves": [
{
"value": "CVE-2025-53626",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 494257,
"published_at": "2025-07-10T18:49:22.602+00:00"
}