CVE-2021-27517Foxit Phantompdf
Medium 6.1 No auth needed
Follow: this CVE · Foxit · Foxit Phantompdf We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 57
- Auth required
- No
- Published
- Jul 20, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
Foxit PDF SDK For Web through 7.5.0 allows XSS. There is arbitrary JavaScript code execution in the browser if a victim uploads a malicious PDF document containing embedded JavaScript code that abuses app.alert (in the Acrobat JavaScript API).
What to do
- Apply the vendor's security update for Phantompdf.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| foxit | phantompdf | ≤ 9.7.5.29616 |
| foxit | phantompdf | ≥ 10.0.0.0 ≤ 10.1.3.37598 |
| foxit | reader | ≤ 10.1.3.37598 |
Official sources
References
Links published by the sources. Open them with care.
- www.foxitsoftware.com Patch Vendor Advisory