Interactive permission prompt spoofing in Deno
CVE-2023-22499
What is CVE-2023-22499?
The Deno Runtime, a popular JavaScript and TypeScript execution environment, has a vulnerability that allows malicious programs to spoof interactive permission prompts. This issue arises when programs utilize the Web Worker API, where they can manipulate the prompt displayed to users. By clearing the terminal screen after presenting a permission request and displaying a misleading message, attackers can deceive users into believing they are needing to confirm a harmless action. This vulnerability is particularly challenging to reproduce consistently, as it is time-sensitive and may not manifest in every instance. However, it poses a significant risk to users relying on interactive permission prompts. Users are strongly encouraged to upgrade to Deno v1.29.3 or higher to mitigate this risk. For those unable to update, running Deno with the --no-prompt flag can help disable the interactive prompts.
Affected Version(s)
deno >= 1.9, < 1.29.3
