Skip to content
XSS Disclosed report Intermediate

Stored XSS via PDFTron in Dropbox

A vulnerability in the PDFTron JavaScript SDK used by Dropbox Editor to render PDF files allowed arbitrary JavaScript injection (XSS). The code injection was mitigated by Dropbox's Content Security Policy (CSP).

luigigubello Follow

Originally disclosed on Bugcrowd

  • Accepted in 47 hours
  • Disclosed after 30 days

Summary by Dropbox

This report demonstrated a weakness in a third-party application used by Dropbox. A security fix for the issue had already been released and applied for existing users.

Summary by luigigubello

A vulnerability in the PDF Javascript SDK (PDFTron) used by Dropbox Editor to render PDF files can lead to arbitrary Javascript injections (XSS). The code injection is mitigated by the Dropbox CSP.

The original report as published on Bugcrowd, by Dropbox. Images and videos are our own copies; raw HTML is shown as text. View it on Bugcrowd.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker could inject arbitrary JavaScript, but the impact was mitigated by Dropbox's CSP.

What the attacker needed

Victim opens a malicious PDF in Dropbox Editor

The fix

A security fix for the issue had already been released and applied for existing users.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

PDF files can contain JavaScript, and the PDF viewer (PDFTron) used by Dropbox did not properly block malicious scripts. An attacker could create a PDF that runs harmful code when opened, but Dropbox's security policy (CSP) limited the damage.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More by luigigubello

View all

2 more disclosed reports, best first.

More from Dropbox

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.