Skip to main content

PapersGPT for Zotero CVE-2026-73032

| EUVDEUVD-2026-56896 CRITICAL
Code Injection (CWE-94)
2026-08-11 disclosure@vulncheck.com GHSA-27wm-9rgh-2vcq
9.4
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Deliver malicious PDF or control LLM endpoint
  2. Delivery
    Victim runs PapersGPT LLM query
  3. Exploit
    Injected code returned in LLM response
  4. Execution
    Unsanitized text reaches window.eval()
  5. Persist
    JavaScript executes in chrome context
  6. Impact
    File read/write and process execution on host

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the victim actually invoke PapersGPT's LLM interaction (UI:A) on attacker-influenced input, and that the attacker control the text returned by the LLM endpoint via one of three named vectors: (1) prompt injection embedded in a PDF the user analyzes, (2) man-in-the-middle interception of the plugin's API requests, or (3) a malicious/attacker-controlled custom LLM endpoint the user has configured. The vulnerable code path is the unsanitized pass of LLM response text into window.eval() in views.ts in versions ≤0.6.1. Limiting factors: no exploitation without user interaction with the plugin; the MITM vector needs network positioning and typically defeats TLS to succeed; the custom-endpoint vector needs the user to have set a non-default, untrusted endpoint; the PDF-injection vector is the most practical since it works against the default configuration once the user runs an LLM query on a malicious document.

Impact

This is a genuine high-priority issue rather than a high-CVSS-but-low-impact one: the CVSS 4.0 base is 9.4 with AV:N/AC:L/PR:N and high impact across confidentiality, integrity, and availability of both the vulnerable and subsequent systems, and the outcome is code execution in a privileged desktop context. The one moderating factor is UI:A - a victim must actually use the plugin against attacker-influenced content, so it is not wormable or unauthenticated-drive-by; the most realistic path (prompt injection via a downloaded PDF) is low-complexity, while the MITM path requires network positioning and the malicious-endpoint path requires the user to configure a hostile endpoint. No EPSS score, KEV entry, or public PoC is provided, so probability-of-exploitation telemetry is absent; the risk case rests on the confirmed source-code sink and the ease of the PDF-injection vector, and even a mid-sized municipal research or IT team in gliwice running Zotero with this plugin should treat patching as urgent given how routinely academics open untrusted PDFs. Note the mismatch worth verifying: CVSS marks AV:N/PR:N, but exploitation effectively depends on the victim's own use of the plugin and, for two of three vectors, on non-default trust conditions (attacker-controlled endpoint or MITM position).

Exploit ScenarioDerived

An attacker seeds a research PDF with hidden prompt-injection text that instructs the LLM to return a JavaScript payload; when a victim opens the document in Zotero and asks PapersGPT to summarize or query it, the returned text is passed to window.eval() and executes in Zotero's chrome context, letting the attacker read/write files and spawn processes. Alternatively, an attacker on the network path (MITM) or one who has convinced the user to configure a malicious custom LLM endpoint can return the same payload directly. No public PoC is identified, but the source diff confirms the exact vulnerable sink.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 11, 2026

Arbitrary code execution in the PapersGPT for Zotero plugin (versions ≤0.6.1) lets an attacker who controls or tampers with LLM responses run JavaScript in Zotero's chrome-privileged context. Text returned from the LLM endpoint is passed unsanitized into window.eval() in views.ts, so a poisoned PDF (prompt injection), a man-in-the-middle on the API channel, or a malicious custom endpoint can achieve full RCE. Reported by VulnCheck; no public exploit identified at time of analysis and not listed in CISA KEV, but an upstream fix removing the eval sinks is available.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed - the input provides commit 094134172ce4a344a31e4b196cc75d1806383658 and pull request https://github.com/papersgpt/papersgpt-for-zotero/pull/155, which remove the window.eval() execution path and the eval-based RegExp in views.ts, but no tagged release version is given, so verify the fixed release on the project's GitHub releases page before deploying. Until a packaged fixed build is confirmed, compensating controls include disabling or uninstalling the PapersGPT plugin (removes the exposure entirely but loses the feature), using only the trusted default LLM endpoint over TLS and never configuring an untrusted custom endpoint (blocks the malicious-endpoint and reduces the MITM vector, at the cost of flexibility), and treating PDFs from untrusted sources as hostile - avoid running the plugin's LLM analysis on unvetted documents to blunt the prompt-injection path. Consult the vendor advisory (https://www.vulncheck.com/advisories/papersgpt-for-zotero-rce-via-unsanitized-llm-response-eval) and issue #154 for the authoritative fix status.

Affected VersionsENISA

papersgpt-for-zotero 0 ≤0.6.1

Affected Packages

euvd papersgpt_for_zotero no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

PapersGPT is a Zotero extension that sends PDF/library content to an LLM and renders the response inside Zotero, which is built on the Firefox/XUL platform where extension code runs with 'chrome' privileges (full local access, not the sandboxed web content context). The root cause is CWE-94 (Improper Control of Generation of Code / code injection): in src/modules/views.ts the plugin took LLM-returned text and executed it via window.eval() wrapped in a setTimeout, and separately built a RegExp by eval-ing an attacker-influenceable 'trigger' string. Because eval runs with chrome privileges, injected JavaScript inherits Zotero's rights to the filesystem, process execution, and all stored library data. The published commit (094134172ce4a344a31e4b196cc75d1806383658, PR #155) deletes the eval-based execution block and replaces the eval-based RegExp construction with a direct new RegExp(trigger.slice(1,-1)), eliminating both sinks.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 9.4 CRITICAL
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
vuln.today AI 9.6 CRITICAL

Remote attacker-controlled LLM text executes with no privileges but requires the victim to run a query (UI:R); eval in chrome context breaks out of the plugin (S:C) yielding full C/I/A impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

PapersGPT for Zotero (versions 0.6.1 and earlier) contains a critical vulnerability that allows attackers to fully compromise researcher workstations. The vulnerability enables attackers to execute code with system-level privileges through multiple attack vectors-including tampered PDFs and network interception-potentially exposing sensitive research data and institutional networks. Research departments, universities, and academic institutions using this plugin face immediate risk to intellectual property and operational security.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis; however, upstream source code fixes are available. If the plugin must remain operational, the most effective interim mitigation is disabling it entirely where feasible. If operation is essential, deploy Zotero in isolated network segments without direct internet access to external LLM endpoints; implement network-level monitoring and controls to detect and prevent man-in-the-middle attacks on LLM API communications; and configure Zotero to use only organization-controlled, pre-approved LLM endpoints. Continuously monitor vendor advisories and upstream project repositories for an official patched release and prepare for urgent deployment immediately upon availability.

Threat Intelligence Overview

EPSS Score
0.4%
Top 64% exploitable
Prevalence
Low
niche third-party plugin for the academic Zotero reference manager
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +47
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy