CVE-2026-75529: Stored Cross-Site Scripting via MIME-Type Confusion in PDF Downloads of Pandora

Published Aug 17, 2026
·
Updated

Pandora is affected by a stored cross-site scripting vulnerability in the PDF download functionality. The /task-download/<taskid>/.../pdf endpoint verifies that the submitted file is a PDF using Pandora's content-based file-type detection, but previously returned the file using sendfile(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.

Affected Software

1 affected component
Pandora

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Update the PDF download logic to explicitly set the response header Content-Type to application/pdf (instead of relying on Flask’s inferred MIME type).

    Pandora /task-download/<task_id>/.../pdf endpoint Content-Type = application/pdf
  2. Configuration

    Update the endpoint to force file download by setting Content-Disposition: attachment (rather than returning the file without forcing download).

    Pandora /task-download/<task_id>/.../pdf endpoint Content-Disposition = attachment
  3. Configuration

    Update the endpoint to assign a trusted filename ending in .pdf, derived from the task UUID, when returning the downloaded PDF.

    Pandora /task-download/<task_id>/.../pdf endpoint download filename = trusted .pdf filename based on task UUID

Event History

Aug 17, 2026
CVE Published
via MITRE·08:52 PM
Data Sourced
via MITRE·08:52 PM
DescriptionWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-75529?

CVE-2026-75529 has a risk score of 52, indicating a moderate severity level.

2

What type of vulnerability is CVE-2026-75529?

CVE-2026-75529 is a stored cross-site scripting (XSS) vulnerability.

3

How does CVE-2026-75529 occur?

CVE-2026-75529 occurs via MIME-type confusion in the PDF download functionality of Pandora.

4

How can I mitigate the risks associated with CVE-2026-75529?

To mitigate CVE-2026-75529, ensure proper validation of file types and avoid relying solely on content-based file-type detection.

5

What impact can CVE-2026-75529 have on users?

CVE-2026-75529 can potentially allow an attacker to execute malicious scripts in the context of the user’s browser.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203