Stored Cross-Site Scripting via MIME-Type Confusion in PDF Downloads of Pandora
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| pandora-analysis | pandora | up to 1.12.5 | — | No fix listed | CNA |
- pandora Vendorpandora-analysis Affected up to 1.12.5 Fixed in — No fix listed CNA
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-75529
References
More pandora-analysis vulnerabilities
- TI-2026-52538 Path Traversal in TAR Archive Extraction Allows Arbitrary File Write in Pandora CVSS 4.0CRITICAL 10.0
- TI-2026-60085 Path traversal in pandora-analysis pandora CVSS 4.0CRITICAL 9.3
- TI-2026-52541 Unbounded DAA Decompression in Pandora Allows Denial of Service via Decompression Bomb CVSS 4.0HIGH 8.7
- TI-2026-52885 Stored Cross-Site Scripting in URL Observables via Lookyloo Submission Handler in Pandora CVSS 4.0HIGH 7.0
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences