Skip to main content

Pandora CVE-2026-75529

| EUVDEUVD-2026-60458 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-08-17 CIRCL
6.9
CVSS 4.0 · Vendor: CIRCL
View

Attack ChainAIDerived

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

  1. Access
    Submit polyglot PDF/HTML file to Pandora analysis queue
  2. Delivery
    Pandora content detection validates file as PDF
  3. Exploit
    Victim analyst accesses task and clicks PDF download link
  4. Execution
    Flask serves file with HTML MIME type, no attachment header
  5. Persist
    Browser renders response inline, executing embedded JavaScript
  6. Impact
    Attacker JS exfiltrates session token or performs actions as victim

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

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

Exploitation Conditions

Two conditions must both be satisfied for exploitation: the attacker must be able to submit a file to Pandora's analysis queue (the platform's core submission feature, which may be open to unauthenticated users or restricted depending on deployment configuration), and a victim with legitimate access to that specific analysis task must click the PDF download link. The vulnerability is activated by the absence of an explicit mimetype and as_attachment parameter in Flask's send_file() call - the exact default behavior present in all unpatched versions. Deployments that restrict file submission to authenticated or vetted users limit the attacker's ability to stage the payload. Exploitation is bounded to users who individually navigate to and interact with the attacker's submitted task; it is not self-propagating. The XSS impact is scoped to the Pandora application origin and does not directly affect the underlying host operating system.

Impact

The provided CVSS 4.0 vector scores 6.9 with UI:N (no user interaction), but this conflicts with the description, which explicitly requires a victim to follow the PDF download link - a clear user-interaction dependency. The assessed CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N) better reflects this, yielding a Medium severity consistent with typical stored XSS patterns. Real-world risk is meaningful for organizations running multi-user Pandora deployments where analysts routinely access each other's submitted task results - the trigger condition (clicking a download link) is a normal workflow action. No EPSS score is available, no KEV listing exists, and no public POC has been identified, suggesting this has not been observed in widespread active exploitation. The niche deployment footprint of Pandora (a specialist open-source malware analysis tool used primarily by CERTs and security teams) limits the aggregate attack surface, but within those environments the impact on session integrity and analyst trust is disproportionately sensitive given the nature of the data processed. CVSS PR:N in the provided vector indicates no authentication is required for file submission, though victim access to the relevant task is required, making this a second-order stored XSS rather than a direct reflected injection.

Exploit ScenarioDerived

An attacker submits a polyglot binary to Pandora's file analysis queue - crafted so that its byte-level structure passes Pandora's content-based PDF detection, but its filename ends in .html or another web-executable extension. When a security analyst with access to the task later clicks the PDF download link in the analysis UI, Flask serves the file with Content-Type: text/html and no attachment header; the analyst's browser renders it inline, executing embedded JavaScript in the Pandora origin. The script can exfiltrate the analyst's session cookie or silently perform authenticated API actions such as accessing other analysis results. No public POC code is known at time of analysis, but polyglot PDF/HTML construction is a well-documented technique requiring no specialized tooling.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 17, 2026

Stored XSS in the Pandora malware analysis platform's PDF download endpoint allows attacker-controlled JavaScript to execute in the security context of the application when an analyst views a crafted analysis task. An attacker submits a polyglot file that passes Pandora's content-based PDF detection but whose filename or extension causes Flask's send_file() to serve it with an active MIME type such as text/html, with no Content-Disposition: attachment header forcing browser download. Any victim with access to the analysis task who follows the PDF download link will have attacker-supplied script execute in their Pandora session, potentially exposing session data or enabling unauthorized actions. No public exploit identified at time of analysis; a patch is available via upstream commit 668ec65a93cee327e3d925da2698849c9e65625a.

RemediationAI

Apply the upstream patch by pulling commit 668ec65a93cee327e3d925da2698849c9e65625a from https://github.com/pandora-analysis/pandora/commit/668ec65a93cee327e3d925da2698849c9e65625a, which modifies the api_task_download function in website/web/__init__.py to replace send_file(task.file.path) with send_file(task.file.path, mimetype='application/pdf', as_attachment=True, download_name=f'{task.uuid}.pdf'). This three-part fix enforces the correct MIME type, prevents inline browser rendering via Content-Disposition: attachment, and neutralizes the attacker-controlled filename by substituting a UUID-derived .pdf name. For deployments that cannot immediately patch, a compensating control is to place a reverse proxy (e.g., nginx) in front of Pandora and configure it to inject Content-Type: application/pdf and Content-Disposition: attachment; filename=download.pdf headers on all responses from the /task-download/ path - note this adds proxy configuration overhead and must be scoped precisely to avoid interfering with other download endpoints. Additionally, restricting access to the task download endpoint to trusted authenticated users shrinks the victim pool but does not eliminate the underlying flaw.

Affected VersionsENISA

pandora 0 ≤1.12.5

Affected Packages

euvd pandora 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

Pandora is an open-source Python malware analysis platform developed by CIRCL and maintained at pandora-analysis/pandora. Its Flask-based web component (website/web/__init__.py) exposes a task download endpoint at /task-download/<task_id>/.../pdf. The root cause is Flask's behavior when send_file() is called with a filesystem path but no explicit mimetype parameter: Flask infers the response Content-Type from the filename extension rather than the file's actual binary content. Pandora's content-based PDF validation inspects the file's bytes and confirms it resembles a PDF, but this check occurs independently of the filename used when serving the file. An attacker exploits this split - submitting a polyglot binary that satisfies content inspection while bearing a filename that Flask maps to text/html or another active MIME type. Without a Content-Disposition: attachment header, browsers render the response inline. CWE-79 applies: user-supplied content (the polyglot filename and its embedded script) is returned to victim browsers without proper output neutralization, specifically without enforced MIME type or attachment disposition. The CPE cpe:2.3:a:pandora-analysis:pandora:*:*:*:*:*:*:*:* covers all versions.

Know when Pandora gets its next vulnerability

  • 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 (CIRCL) PRIMARY 6.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 6.1 MEDIUM

Attacker needs no privileges to submit the polyglot file; victim must actively follow the download link (UI:R); XSS crosses browser security boundary into Pandora origin (S:C).

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

Primary rating from Vendor (CIRCL).

CVSS VectorVendor: CIRCL

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

DescriptionCVE.org

Pandora is affected by a stored cross-site scripting vulnerability in the PDF download functionality. The /task-download/<task_id>/.../pdf endpoint verifies that the submitted file is a PDF using Pandora's content-based file-type detection, but previously returned the file using send_file(task.file.path) without explicitly specifying the MIME type or forcing it to be downloaded as an attachment.

Because Flask determines the response MIME type from the filename when a path is supplied, an attacker could submit a file whose content is recognized by Pandora as a PDF while its filename or extension causes the download endpoint to return it with a different, potentially active MIME type.

A specially crafted PDF/polyglot file could therefore be served inline and interpreted by a victim's browser as HTML or another executable web format. If a victim with access to the submitted analysis follows the PDF download link, attacker-controlled script could execute in the security context of the Pandora application, potentially allowing access to application data or actions using the victim's session.

The patch prevents the issue by explicitly returning PDF downloads with Content-Type: application/pdf, forcing Content-Disposition: attachment, and assigning a trusted .pdf filename based on the task UUID.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Low
specialized open-source malware analysis platform used by CERTs and security teams
Data Quality
6 sources
Confidence: High

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
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· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

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