Skip to navigation

Threat reportVulnerabilityTL-2026-3789

CVE-2024-21388 - Microsoft Edge edgeMarketingPagePrivate API Abused for Covert Extension Installation

mediumPATCHED

Guardio Labs disclosed that the private edgeMarketingPagePrivate API in Microsoft Edge (Chromium) accepted an extension ID where a theme ID was expected, letting an attacker with JavaScript execution on allowlisted Microsoft origins silently install any extension from the Edge Add-ons store without user consent. First disclosed .

Key facts

IdentifiersTL-2026-3789, CVE-2024-21388
Also known asedgeMarketingPagePrivate installTheme abuse, Edge marketing API covert extension install
SeverityMEDIUM
CVSS6.5 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L)
First disclosed
Exploitation statusPublic proof-of-concept exploit for a linked CVE
EPSSCVE-2024-21388: 31.9% (98.3th percentile)
Affected productsMicrosoft Microsoft Edge (Chromium-based)
Weaknesses (CWE)CWE-20
MITRE ATT&CK techniquesT1036 Masquerading, T1059.007 Command and Scripting Interpreter: JavaScript, T1176.001 Software Extensions: Browser Extensions, T1204 User Execution
MotivationUNKNOWN
Target sectorstechnology, enterprise, consumer
Target regionsGlobal
Detection rules9 (1 shown free)
Sources10 cited sources

Detection coverage

As of 2026-10-17, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-3789 across Splunk SPL, Microsoft KQL and Sigma, covering 10 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.

Free detection: CVE-2024-21388 Edge Chained Silent Extension Installation (edgeMarketingPagePrivate installTheme Abuse)

Detects two or more distinct Edge extensions being unpacked (manifest.json written by msedge.exe under the profile Extensions folder) on one host within 15 minutes. This is the footprint of the CVE-2024-21388 two-stage chain, where a low-privilege first-stage extension injects script into an allowlisted origin and calls chrome.edgeMarketingPagePrivate.installTheme() with an extension ID, silently installing a second, higher-privilege extension from the Edge Add-ons store without a consent prompt.

  • Languages: Splunk SPL, Microsoft KQL, Sigma
  • ATT&CK: T1176.001, T1068, T1204
  • Data sources: Sysmon EventCode 11 (index=sysmon, XmlWinEventLog:Microsoft-Windows-Sysmon/Operational), Microsoft Defender for Endpoint DeviceFileEvents, Windows file_event
  • Severity: medium
  • Confidence: medium

Splunk SPL

index=sysmon sourcetype="XmlWinEventLog:Microsoft-Windows-Sysmon/Operational" EventCode=11 Image="*msedge.exe" TargetFilename="*Microsoft*Edge*User Data*Extensions*manifest.json" earliest=-24h
```Edge writes manifest.json for every installed extension. Two or more distinct 32 char extension IDs within 15 minutes on one host suggest a chained silent install```
| eval ext_id=mvindex(split(TargetFilename, "\\"), -3)
| where match(ext_id, "^[a-p]{32}$")
| bin _time span=15m
| stats dc(ext_id) AS ext_count values(ext_id) AS ext_ids min(_time) AS first_seen BY Computer, User, _time
| where ext_count>=2
| convert ctime(first_seen)

Microsoft KQL

DeviceFileEvents
| where Timestamp > ago(24h)
| where ActionType == "FileCreated"
| where InitiatingProcessFileName =~ "msedge.exe"
| where FileName =~ "manifest.json"
| where FolderPath has_all ("Microsoft", "Edge", "User Data", "Extensions")
| extend ExtensionId = tostring(split(FolderPath, "\\")[-2])
| where ExtensionId matches regex "^[a-p]{32}$"
| summarize ExtensionCount = dcount(ExtensionId), ExtensionIds = make_set(ExtensionId), FirstSeen = min(Timestamp), LastSeen = max(Timestamp) by DeviceName, AccountName = InitiatingProcessAccountName, Window = bin(Timestamp, 15m)
| where ExtensionCount >= 2
| project Window, DeviceName, AccountName, ExtensionCount, ExtensionIds, FirstSeen, LastSeen

Sigma

title: Edge Extension Manifest Written by Edge (CVE-2024-21388 Chain Building Block)
name: tl_3789_edge_ext_manifest_drop
id: 7c1d3e52-9a4b-4f0e-8b61-2d5f0a93c7e1
status: experimental
description: Microsoft Edge wrote manifest.json for an extension into the profile Extensions folder. Combined with the correlation rule below, two or more distinct extension installs on one host within 15 minutes indicate chained silent installation as in CVE-2024-21388 (edgeMarketingPagePrivate installTheme abuse).
references:
    - https://guard.io/labs/cve-2024-21388-microsoft-edges-marketing-api-exploited-for-covert-extension-installation-879fe5ad35ca
    - https://nvd.nist.gov/vuln/detail/CVE-2024-21388
author: Threadlinqs Team
date: 2026/10/16
tags:
    - attack.persistence
    - attack.privilege-escalation
    - attack.execution
    - attack.t1176.001
    - attack.t1068
    - attack.t1204
    - cve.2024-21388
logsource:
    category: file_event
    product: windows
detection:
    selection:
        Image|endswith: '\msedge.exe'
        TargetFilename|contains|all:
            - '\Microsoft\Edge\User Data\'
            - '\Extensions\'
        TargetFilename|endswith: '\manifest.json'
    condition: selection
falsepositives:
    - Users installing several approved extensions in one sitting
    - Enterprise force-installed extension policy applying at first launch
level: medium
---
title: Multiple Edge Extension Installs Within 15 Minutes (CVE-2024-21388 Chain)
id: 3b8f6a10-52c7-4d19-a0e4-91f7c6d2b8a3
status: experimental
description: Two or more distinct Edge extension manifests written on the same host within 15 minutes, consistent with a low-privilege extension silently installing a second extension through edgeMarketingPagePrivate.installTheme.
author: Threadlinqs Team
date: 2026/10/16
tags:
    - attack.persistence
    - attack.t1176.001
    - cve.2024-21388
correlation:
    type: value_count
    rules:
        - tl_3789_edge_ext_manifest_drop
    group-by:
        - Computer
    timespan: 15m
    condition:
        gte: 2
        field: TargetFilename
level: medium

Known false positives:

  • Users installing several approved extensions in one sitting
  • Enterprise force-installed extension policy applying several extensions at first browser launch or profile creation
  • Edge profile sync restoring a set of extensions on a new device

Tuning notes: Exclude extension IDs that your Intune/GPO ExtensionInstallForcelist pushes, and suppress hosts in their first 30 minutes after profile creation or sync. In locked-down fleets that use ExtensionInstallAllowlist, lower the threshold to ext_count>=1 so any install outside the allowlist alerts. Patched Edge (121.0.2277.83 or later) is not exposed to the API abuse, but the detection still surfaces extension sprawl.

8 more detection rules (Splunk SPL, Microsoft KQL, Sigma) · unlock with TL Creds. Sign up free to unlock the detection rules or query them with the Threadlinqs MCP server (Purple)
  • CVE-2024-21388 Exploit Strings in Process Command Lines (edgeMarketingPagePrivate, installTheme, Base64 Data-URI Script) · unlock with TL Creds
  • Edge Extension Files Written by Non-Edge Process (Extension Persistence and Tampering) · unlock with TL Creds
  • Edge Add-ons Store CRX Download Observed at Web Proxy (Silent Extension Install Network Footprint) · unlock with TL Creds
  • Vulnerable Microsoft Edge Build Running (Prior to 121.0.2277.83, CVE-2024-21388) · unlock with TL Creds
  • Edge Preferences or Secure Preferences Modified by Non-Edge Process (Extension Registration Tampering) · unlock with TL Creds
  • Edge Launched with Remote Debugging Enabled (Script Injection into Allowlisted Origins, CVE-2024-21388) · unlock with TL Creds
  • Edge Launched with Extension Sideloading Flags (First-Stage Extension Persistence, CVE-2024-21388) · unlock with TL Creds
  • DNS Resolution of [indicator] (Allowlisted Loopback Origin for edgeMarketingPagePrivate) · unlock with TL Creds

Indicators of compromise

As of 2026-10-17, Threadlinqs Intelligence tracks 10 indicators of compromise for TL-2026-3789.

Sample indicators (3 of 10)

  • Domain: www[.]bing[.]com
  • Domain: www[.]microsoft[.]com
  • Domain: microsoftedgewelcome[.]microsoft[.]com

Defanged, TLP:CLEAR. Full set of 10 indicators: unlock with TL Creds.

10 indicators of compromise · unlock with TL Creds. Compare plans

Technical analysis

Reported in November 2023 and fixed by Microsoft in Edge 121 (January 2024); no in-the-wild exploitation was reported.

CVE-2024-21388 is an elevation-of-privilege flaw (CWE-20, improper input validation) in Microsoft Edge (Chromium-based). Edge ships privileged private APIs that are only exposed to a hard-coded allowlist of Microsoft-controlled origins. One of them, edgeMarketingPagePrivate, was built for marketing features and exposes an installTheme() method that installs a theme from the Edge Add-ons store by ID. Guardio Labs found that the method did not verify the type of the item being installed: substituting the ID of a regular extension (plus its manifest) for a theme ID caused Edge to install the full extension silently, with no permission prompt or user interaction.

The API is reachable only from allowlisted origins: https://www.microsoft.com/*, https://www.bing.com/*, https://microsoftedgewelcome.microsoft.com/*, https://microsoftedgetips.microsoft.com/*, https://ntp.msn.com/*, https://ntp.msn.cn/*, https://localhost.msn.com/* and edge://surf/*. An attacker therefore first needs JavaScript execution in the context of one of those origins. Guardio describes two routes: an XSS flaw on a privileged domain, or a two-stage attack in which a seemingly harmless, low-privilege extension (for example one disguised as a productivity tool and holding content-script access via the <all_urls> permission) injects a script into a bing.com page. The injected script is created with createElement() as an inline script element whose src is a base64 data: URI (data:application/javascript;charset=utf-8;base64,...), which executes in the page's own context and so escapes the restricted extension content-script context. From there it calls chrome.edgeMarketingPagePrivate.installTheme(TARGET_EXTENSION_ID, TARGET_EXTENSION_MANIFEST, callback), and Edge installs the chosen extension from the Add-ons store.

Impact: the attacker can chain a low-privilege extension into installing extensions with far broader permissions, enabling spyware deployment, credential theft or financial fraud. Microsoft's advisory language notes the flaw could lead to a browser sandbox escape and that an attacker must take additional actions to prepare the target environment before exploitation (hence the Attack Complexity High rating). The researchers credited are Oleg Zaytsev of Guardio Labs and Jun Kokatsu. Microsoft fixed the issue by validating that only theme-type items can be installed through this API. Edge release notes list the fix in Stable 121.0.2277.83 (released 2024-01-26); NVD lists Edge versions prior to 121.0.2277.83 as affected, while the Guardio write-up cites 121.0.2277.98 and a February 2024 fix, so the .83 figure from NVD and Microsoft release notes is used here. Guardio published the research on 2024-03-27. No in-the-wild exploitation was reported at disclosure.

MITRE ATT&CK techniques by tactic:

Defense Evasion

T1036 Masquerading

Execution

T1059.007 Command and Scripting Interpreter: JavaScript; T1204 User Execution

Persistence

T1176.001 Software Extensions: Browser Extensions

Remediation

Patches

  • Microsoft Edge Stable 121.0.2277.83 (released 2024-01-26) per Microsoft Edge security release notes and NVD
  • Guardio cites 121.0.2277.98 as the fixed build; use the newest stable build

Immediate actions

  • Update Microsoft Edge to Stable 121.0.2277.83 or later (confirm the build is current via edge://settings/help)
  • Audit installed Edge extensions across the fleet and remove any that were not approved or whose install time does not match user activity
  • Review extensions holding the <all_urls> permission or content-script access to bing.com and microsoft.com

Workarounds

  • Block installation of unapproved extensions via ExtensionInstallBlocklist set to *
  • Limit user installation of low-trust extensions that request broad host permissions such as <all_urls>

Longer-term hardening

  • Enforce an Edge extension allowlist/blocklist via Group Policy (ExtensionInstallAllowlist, ExtensionInstallBlocklist) or Intune
  • Monitor extension installation events and extension inventory through EDR or browser management telemetry
  • Restrict extension installation to force-installed, vetted extensions only

Affected and fixed versions

  • Microsoft — Microsoft Edge (Chromium-based)
    Vulnerable versions: prior to 121.0.2277.83
    Fixed in: 121.0.2277.83 (Microsoft release notes and NVD); Guardio cites 121.0.2277.98

Timeline

  • Guardio Labs (Oleg Zaytsev, Jun Kokatsu) responsibly disclosed the edgeMarketingPagePrivate flaw to Microsoft in November 2023 (exact day not published; first of month used as placeholder)
  • The Hacker News cites 2024-01-25 as the release date of Edge Stable 121.0.2277.83, the fixed build, which validates that only theme-type items are installable through the private API
  • Microsoft released Edge Stable 121.0.2277.83 addressing CVE-2024-21388 per Edge security release notes (THN cites 2024-01-25; Guardio cites 121.0.2277.98 and a February fix)
  • NVD published CVE-2024-21388 (Edge Chromium elevation of privilege, CVSS 3.1 6.5 MEDIUM, CWE-20)
  • Guardio's write-up dates the security patch to February 2024 (build 121.0.2277.98), roughly three months after the November 2023 report (exact day not published; first of month used as placeholder)
  • The Hacker News and other outlets reported the flaw; Microsoft noted it could lead to a browser sandbox escape and required additional attacker preparation; no in-the-wild exploitation reported
  • Guardio Labs published full technical analysis describing the installTheme() extension-ID substitution and the two-stage content-script injection path

Sources cited

Previous and next in vulnerability

Drafted by the Threadlinqs research pipeline from 10 sources; published ; last updated —.

Threadlinqs Intelligence — Real-Time Threat Detection Platform

// threat_feed
$ sort --newest
Showing all threats

Live intelligence console

Threat level

Latest Threats