Description
PapersGPT for Zotero 0.6.1 contains a remote code execution vulnerability that allows attackers to execute arbitrary JavaScript by returning malicious code from an LLM endpoint that is passed unsanitized to window.eval() in views.ts. Attackers can exploit this through prompt injection in PDFs, MITM interception of API requests, or a malicious custom LLM endpoint to execute arbitrary code in Zotero's chrome-privileged context, enabling file read/write, process execution, and access to all Zotero data.
References6
- github.com/papersgpt/papersgpt-for-zotero
- github.com/papersgpt/papersgpt-for-zotero/commit/094134172ce4a3…
- github.com/papersgpt/papersgpt-for-zotero/issues/154
- github.com/papersgpt/papersgpt-for-zotero/pull/155
- www.vulncheck.com/advisories/papersgpt-for-zotero-rce-via-unsan…
- github.com/papersgpt/papersgpt-for-zotero/issues/154
Metrics
- CVSS 3.1
-
9.6
CRITICAL
Score source: NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H - CVSS 4.0
-
9.4
CRITICAL
Score source: CNA
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - EPSS — exploit probability
- 1% percentile: 47 · as of 12 November 2026
- CWE
- CWE-94
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.