CVE-2023-35985
Foxit PDF Reader vulnerability analysis and mitigation

Overview

An arbitrary file creation vulnerability (CVE-2023-35985) exists in the Javascript exportDataObject API of Foxit Reader 12.1.3.15356. The vulnerability stems from a failure to properly validate dangerous extensions, allowing creation of files at arbitrary locations, which can lead to arbitrary code execution. An attacker needs to trick the user into opening a malicious file to trigger this vulnerability, or exploitation can occur if a user visits a specially-crafted malicious site when the browser plugin extension is enabled (Talos Report).

Technical details

The vulnerability exists due to Foxit Reader's failure to check for directory traversal characters (../) before appending filenames to temporary directory paths. While the application checks file extensions against a blocklist of known suspicious file types, there is a specific validation issue where files with the extension 'hta' are not properly filtered, only 'hta ' (with a space) is blocked. This allows for the creation of HTML Application (HTA) files that can contain and execute arbitrary code (Talos Report). The vulnerability has been assigned a CVSS v3.1 base score of 8.8 HIGH (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) (NVD).

Impact

The successful exploitation of this vulnerability could allow attackers to create files at arbitrary locations on the targeted system, ultimately leading to arbitrary code execution. Since HTA files represent HTML Applications and can contain arbitrary code, their execution could give attackers complete control over the affected system (Talos Report).

Mitigation and workarounds

Foxit has released patches to address this vulnerability. The issue was disclosed to the vendor on August 28, 2023, and a patch was released on November 22, 2023 (Talos Report).

Community reactions

The vulnerability was part of a larger disclosure of multiple vulnerabilities in Foxit PDF Reader, which has drawn attention from the cybersecurity community due to the software's popularity as an alternative to Adobe Acrobat Reader (Security Online).

Additional resources


SourceThis report was generated using AI

Related Foxit PDF Reader vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-9330HIGH7.8
  • Foxit PDF ReaderFoxit PDF Reader
  • cpe:2.3:a:foxit:pdf_reader
NoNoSep 02, 2025
CVE-2025-9329HIGH7.8
  • Foxit PDF ReaderFoxit PDF Reader
  • cpe:2.3:a:foxit:pdf_reader
NoYesSep 02, 2025
CVE-2025-9328HIGH7.8
  • Foxit PDF ReaderFoxit PDF Reader
  • cpe:2.3:a:foxit:pdf_reader
NoYesSep 02, 2025
CVE-2025-9326HIGH7.8
  • Foxit PDF ReaderFoxit PDF Reader
  • cpe:2.3:a:foxit:pdf_reader
NoYesSep 02, 2025
CVE-2025-9327MEDIUM5.5
  • Foxit PDF ReaderFoxit PDF Reader
  • cpe:2.3:a:foxit:pdf_reader
NoYesSep 02, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management