Skip to main content

CVE-2024-3846: Google Chrome Prompts XSS Vulnerability

CVE-2024-3846 is a cross-site scripting vulnerability in Google Chrome Prompts that enables UI spoofing through crafted HTML pages. This article covers the technical details, affected versions, and security patches.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2024-3846 Overview

CVE-2024-3846 is a user interface (UI) spoofing vulnerability in Google Chrome's Prompts component, affecting versions prior to 124.0.6367.60. A remote attacker who convinces a user to perform specific UI gestures can spoof browser prompts through a crafted HTML page. The flaw was addressed in the Chrome Stable Channel update released on April 16, 2024, and subsequently patched in Fedora 38, 39, and 40 via downstream package updates. Chromium's internal rating for this issue is Low, while the National Vulnerability Database (NVD) classifies it as Medium. The weakness falls under the User Interface Confusion category and requires user interaction to be exploited.

Critical Impact

Attackers can craft malicious HTML pages that manipulate Chrome's prompt interface, enabling phishing-style deception and limited integrity impact on the browser UI.

Affected Products

  • Google Chrome prior to 124.0.6367.60
  • Fedora 38, 39, and 40 (chromium package)
  • Downstream Chromium-based distributions bundling vulnerable builds

Discovery Timeline

  • 2024-04-17 - CVE-2024-3846 published to NVD
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2024-3846

Vulnerability Analysis

The vulnerability resides in Chrome's Prompts subsystem, which renders modal dialogs such as JavaScript alert(), confirm(), prompt(), and permission requests. An inappropriate implementation allows a crafted HTML page to influence how prompt UI elements are drawn or dismissed. When combined with specific user gestures, such as clicks or keystrokes timed against prompt rendering, the browser presents misleading UI content.

UI spoofing attacks of this class typically enable phishing scenarios where users approve actions they did not intend. The attack does not grant code execution or data disclosure directly. Instead, it undermines the trust boundary between the browser chrome and web content, which users rely on to validate dialog authenticity.

Root Cause

The root cause is classified under [NVD-CWE-noinfo] because detailed weakness attribution was not published. Chromium issue #40064754 tracks the underlying defect in prompt handling logic. The implementation did not sufficiently isolate web-controlled content from prompt rendering timing, allowing attacker-supplied pages to influence what the user perceived during a UI gesture.

Attack Vector

Exploitation requires a victim to visit an attacker-controlled web page and perform a specific UI gesture. The attack is remote and network-based, requires no privileges, and depends on user interaction. No authentication bypass or memory corruption is involved. The practical consequence is limited to integrity impact on the user interface, which attackers can leverage for social engineering campaigns such as fake download prompts or spoofed permission dialogs.

See the Chromium Issue #40064754 tracker and the Chrome Stable Channel Update for additional technical context.

Detection Methods for CVE-2024-3846

Indicators of Compromise

  • Browser telemetry showing Chrome versions earlier than 124.0.6367.60 on managed endpoints
  • User reports of unexpected or malformed browser prompts, particularly on untrusted sites
  • Web proxy logs recording visits to pages that trigger rapid prompt rendering sequences

Detection Strategies

  • Inventory installed Chrome and Chromium builds across endpoints and flag any version below 124.0.6367.60
  • Review phishing report queues for user-submitted screenshots that show irregular Chrome dialogs
  • Correlate browser version data from endpoint management tools with vulnerability databases to prioritize patching

Monitoring Recommendations

  • Monitor Chrome auto-update enrollment and alert on devices that fall behind the Stable channel
  • Track egress traffic to newly registered or low-reputation domains that may host spoofing payloads
  • Enable browser security event logging and forward it to a centralized data lake for retrospective analysis

How to Mitigate CVE-2024-3846

Immediate Actions Required

  • Update Google Chrome to version 124.0.6367.60 or later on all Windows, macOS, and Linux endpoints
  • Apply the Fedora chromium package updates referenced in the Fedora package announcements for Fedora 38, 39, and 40
  • Validate that Chrome's automatic update mechanism is enabled and functioning across the fleet

Patch Information

Google released the fix in the Chrome Stable Channel update on April 16, 2024. Administrators should consult the Chrome Stable Channel Update announcement. Fedora users should install updates via the published Fedora Package Announcement advisories covering Fedora 38, 39, and 40.

Workarounds

  • Restrict browsing to trusted sites through enterprise web filtering until patches are deployed
  • Educate users to scrutinize unexpected browser prompts and avoid interacting with dialogs on unfamiliar pages
  • Enforce Chrome enterprise policies that disable or restrict JavaScript dialogs on untrusted zones where feasible
bash
# Example: enforce minimum Chrome version via Fedora dnf
sudo dnf upgrade --refresh chromium
chromium --version   # verify output is 124.0.6367.60 or later

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.