{"id":"CVE-2021-31476","published":"2021-06-16T22:15:20Z","modified":"2024-08-03T23:03:32Z","title":"This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit PhantomPDF…","vendor":"Foxit","product":"PhantomPDF","tier":"tail","description":{"text":"This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit PhantomPDF 10.1.3.37598. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the handling of XFA templates. The issue results from the lack of proper validation of user-supplied data, which can result in a type confusion condition. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-13531.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.08754,"percentile":0.95286,"provenance":"source"},"cwes":[{"id":"CWE-843","name":"Access of Resource Using Incompatible Type"}],"references":[{"url":"https://www.zerodayinitiative.com/advisories/ZDI-21-614/","tags":["x_refsource_MISC"]},{"url":"https://www.foxit.com/support/security-bulletins.html","tags":["x_refsource_MISC"]}],"priority":{"score":24.5,"factors":[{"name":"EPSS percentile","points":19.06},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"foxit","affectedVersions":[{"vendor":"Foxit","product":"PhantomPDF","versions":["10.1.3.37598"]}],"euvd":{"id":"EUVD-2021-18376","exploited":false,"provenance":"source"},"summary":{"text":"Foxit PhantomPDF 10.1.3.37598 contains a flaw in the handling of XFA templates, caused by missing validation of user-supplied data that leads to a type confusion condition. An attacker can execute arbitrary code in the context of the current process by getting a user to visit a malicious page or open a malicious file, so user interaction is required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T15:02:27Z"}}