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

Overview

An arbitrary file creation vulnerability (CVE-2023-40194) was discovered in the Javascript exportDataObject API of Foxit Reader version 12.1.3.15356. The vulnerability was discovered by Kamlapati Choubey of Cisco Talos and was disclosed to the vendor on August 28, 2023, with a patch release on November 22, 2023, followed by public disclosure on November 27, 2023 (Talos Report).

Technical details

The vulnerability exists due to mistreatment of whitespace characters in the Javascript exportDataObject API. The application's security checks for blocked file extensions can be bypassed by adding a space at the end of the filename. For example, while 'exploit.acm' would be blocked, 'exploit.acm ' would bypass the checks. The application maintains a blocklist of 93 known file extensions but fails to properly validate filenames with trailing spaces. The vulnerability has been assigned a CVSSv3.1 score of 8.8 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (Talos Report).

Impact

A successful exploitation of this vulnerability allows attackers to create files at arbitrary locations on the system, which can lead to arbitrary code execution. The impact is particularly severe as it can be triggered either by opening a malicious PDF file or by visiting a specially crafted website if the browser plugin extension is enabled (Talos Report).

Mitigation and workarounds

The vendor released a patch on November 22, 2023, to address this vulnerability. Users are advised to update their Foxit Reader installations to the latest version that includes the security fix (Talos Report).

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-66499HIGH7.8
  • Foxit PDF ReaderFoxit PDF Reader
  • cpe:2.3:a:foxit:pdf_reader
NoYesDec 19, 2025
CVE-2025-66498HIGH7.8
  • Foxit PDF ReaderFoxit PDF Reader
  • cpe:2.3:a:foxit:pdf_reader
NoYesDec 19, 2025
CVE-2025-66497HIGH7.8
  • Foxit PDF ReaderFoxit PDF Reader
  • cpe:2.3:a:foxit:pdf_reader
NoYesDec 19, 2025
CVE-2025-66496HIGH7.8
  • Foxit PDF ReaderFoxit PDF Reader
  • cpe:2.3:a:foxit:pdf_reader
NoYesDec 19, 2025
CVE-2025-66495HIGH7.8
  • Foxit PDF ReaderFoxit PDF Reader
  • cpe:2.3:a:foxit:pdf_reader
NoYesDec 19, 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