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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-1321",
"CWE-79",
"CWE-94"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/53xxx/CVE-2025-53626.json"
}{
"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"
}
]
}