Skip to main content

CVE-2024-7976: Google Chrome FedCM XSS Vulnerability

CVE-2024-7976 is a cross-site scripting flaw in Google Chrome's FedCM feature that enables UI spoofing through malicious HTML pages. This article covers the technical details, affected versions, security impact, and mitigation steps.

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-7976 Overview

CVE-2024-7976 is a user interface spoofing vulnerability in the Federated Credential Management (FedCM) implementation in Google Chrome. The flaw affects Chrome versions prior to 128.0.6613.84. A remote attacker can exploit this issue by serving a crafted HTML page that abuses the FedCM UI flow to mislead users. Successful exploitation requires user interaction, such as visiting the attacker-controlled page. The vulnerability is tracked under [CWE-79] and classified as medium severity by the Chromium security team.

Critical Impact

Attackers can craft web pages that spoof FedCM user interface elements, enabling deceptive credential prompts that may lead users to disclose federated identity information to unintended parties.

Affected Products

  • Google Chrome Desktop (Windows, macOS, Linux) prior to 128.0.6613.84
  • Chromium-based browsers consuming the pre-128 Chromium branch
  • Any application embedding the vulnerable FedCM implementation

Discovery Timeline

  • 2024-08-21 - Google releases Chrome 128.0.6613.84 addressing the issue
  • 2024-08-21 - CVE-2024-7976 published to the National Vulnerability Database
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2024-7976

Vulnerability Analysis

The vulnerability resides in Chrome's FedCM component, which brokers federated identity requests between relying parties and identity providers. An inappropriate implementation allowed a crafted HTML page to manipulate the FedCM user interface in a way that misrepresents authentication context to the user. The flaw does not grant code execution or data integrity compromise outside the UI layer. However, it undermines the trust signals users rely on when approving federated sign-in requests. The issue is categorized as [CWE-79] in the NVD listing, reflecting the browser-rendered content involved in the spoofed interface.

Root Cause

FedCM UI elements did not sufficiently isolate attacker-controlled page content from the identity prompt rendering. This allowed a malicious page to influence the appearance or context of the FedCM dialog. Users could not reliably distinguish authentic federated prompts from attacker-shaped presentations.

Attack Vector

Exploitation occurs over the network through a crafted HTML page. The attacker must convince a user to visit the page, typically via phishing, malvertising, or a compromised site. Once loaded, the page invokes FedCM in a way that produces a misleading prompt. No privileges are required on the target system. The spoofed UI can be used to harvest consent for identity sharing with attacker-selected providers.

No verified public exploit code is available for this vulnerability. Technical details are tracked in Chromium Issue #339654392.

Detection Methods for CVE-2024-7976

Indicators of Compromise

  • Browser telemetry showing Chrome versions prior to 128.0.6613.84 interacting with unfamiliar FedCM identity provider endpoints
  • Web proxy logs recording HTML pages that invoke the FedCM navigator.credentials.get({identity: ...}) API from untrusted origins
  • User reports of unexpected federated sign-in prompts after visiting non-login pages

Detection Strategies

  • Inventory Chrome installations across the fleet and flag any build earlier than 128.0.6613.84
  • Monitor outbound requests to identity provider well-known FedCM endpoints (/.well-known/web-identity) initiated from unknown relying parties
  • Correlate phishing campaign indicators with user browser version data to prioritize at-risk endpoints

Monitoring Recommendations

  • Ingest browser version telemetry into the SIEM and alert on outdated Chrome deployments
  • Track phishing-related URL categories in web gateway logs to identify likely delivery vectors
  • Review user-reported suspicious login prompts through the security awareness reporting channel

How to Mitigate CVE-2024-7976

Immediate Actions Required

  • Update Google Chrome to version 128.0.6613.84 or later on all managed endpoints
  • Verify auto-update is enabled and functioning by checking chrome://settings/help on sample systems
  • Communicate to users that federated sign-in prompts should only be approved on expected authentication flows

Patch Information

Google addressed CVE-2024-7976 in the Chrome Stable channel release 128.0.6613.84 on August 21, 2024. See the Google Chrome Stable Update advisory for the full set of fixes shipped in that release. Chromium-based browsers should apply the equivalent upstream patch referenced in Chromium Issue #339654392.

Workarounds

  • Disable FedCM via enterprise policy (FederatedCredentialManagementEnabled=false) where federated sign-in is not required
  • Enforce browser version policies through endpoint management to prevent use of pre-128 Chrome builds
  • Train users to validate the origin bar and sign-in context before approving federated credential prompts
bash
# Example Chrome enterprise policy on Linux to disable FedCM until patching is complete
cat <<'EOF' > /etc/opt/chrome/policies/managed/disable_fedcm.json
{
  "FederatedCredentialManagementEnabled": false
}
EOF

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.