BreachSpiderVerified, not vibes

CVE-2026-49241 in Angular products

High 8.8

The Angular Language Service VS Code Extension provides a rich editing experience for Angular templates. Prior to 21.2.4, the client-side Angular Language Service VS Code extension reads the custom TypeScript SDK paths typescript.tsdk and js/ts.tsdk.path directly from workspace configurations (.vscode/settings.json)...

Affects 0 products from 1 vendor. Facts below cite their sources.

CVSS 3.18.8
CVSS v48.7
EPSS0.2%
EPSS percentile9th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Angular — —
Angular Angular Language Service < 21.2.4

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

The Angular Language Service VS Code Extension provides a rich editing experience for Angular templates. Prior to 21.2.4, the client-side Angular Language Service VS Code extension reads the custom TypeScript SDK paths typescript.tsdk and js/ts.tsdk.path directly from workspace configurations (.vscode/settings.json) without verifying VS Code Workspace Trust state or asking for user consent (located in client/src/client.ts). The client-side extension then passes the parsed settings path as a command-line argument (--tsdk) to the background Node.js language server process. During server initialization, the background language server resolves and dynamically imports (via standard Node.js require()) the module library tsserverlibrary.js relative to the workspace-specified custom directory path. An attacker can exploit this behavior by committing a repository containing a local malicious tsserverlibrary.js script inside a custom folder, and a crafted .vscode/settings.json file pointing to that folder. When a developer opens the repository folder in VS Code, the extension automatically attempts to initialize and load the server, which dynamically resolves, loads, and executes the malicious script silently in the background. This vulnerability is fixed in 21.2.4.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-49241
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published2026-06-22
Last modified2026-06-26
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-79: Cross-Site Scripting (XSS)

Attacker injects malicious scripts into web pages viewed by other users, executing in the victim's browser context.

CWE-94: Code Injection

Attacker injects arbitrary code that is executed by the application process.

CWE-427: CWE-427

CWE-494: CWE-494

Related attack patterns (CAPEC)

CAPEC-35 Leverage Executable Code in Non-Executable Files via CWE-94

CAPEC-38 Leveraging/Manipulating Configuration File Search Paths via CWE-427

CAPEC-85 AJAX Footprinting via CWE-79

CAPEC-187 Malicious Automated Software Update via Redirection via CWE-494

CAPEC-209 XSS Using MIME Type Mismatch via CWE-79

Show all 23

CAPEC-471 Search Order Hijacking via CWE-427

CAPEC-533 Malicious Manual Software Update via CWE-494

CAPEC-538 Open-Source Library Manipulation via CWE-494

CAPEC-588 DOM-Based XSS via CWE-79

CAPEC-591 Reflected XSS via CWE-79

CAPEC-592 Stored XSS via CWE-79

CAPEC-657 Malicious Automated Software Update via Spoofing via CWE-494

CAPEC-692 Spoof Version Control System Commit Metadata via CWE-494

CAPEC-693 StarJacking via CWE-494

CAPEC-695 Repo Jacking via CWE-494

CAPEC-63 Cross-Site Scripting (XSS) via CWE-79

CAPEC-77 Manipulating User-Controlled Variables via CWE-94

CAPEC-185 Malicious Software Download via CWE-494

CAPEC-186 Malicious Software Update via CWE-494

CAPEC-662 Adversary in the Browser (AiTB) via CWE-494

CAPEC-691 Spoof Open-Source Software Metadata via CWE-494

CAPEC-184 Software Integrity Attack via CWE-494

CAPEC-242 Code Injection via CWE-94

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A unscored severity vulnerability (CVE-2026-49241) affects the target system. The Angular Language Service VS Code Extension provides a rich editing experience for Angular templates. Prior to 21.2.4, the client-side Angular Language Service VS Code extension reads the custom TypeScript SDK paths typescript.tsdk and js/ts.tsdk....

Questions

What is CVE-2026-49241?

A unscored severity vulnerability (CVE-2026-49241) affects the target system. The Angular Language Service VS Code Extension provides a rich editing experience for Angular templates. Prior to 21.2.4, the client-side Angular Language Service VS Code extension reads the custom TypeScript SDK paths typescript.tsdk and js/ts.tsdk....

What is the CVSS score for CVE-2026-49241?

CVE-2026-49241 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. EPSS: 0.2%.

Is CVE-2026-49241 actively exploited?

No confirmed active exploitation of CVE-2026-49241 as of 2026-09-25.

How do I remediate CVE-2026-49241?

Apply vendor patches for CVE-2026-49241. Monitor Angular advisories.

What systems are affected by CVE-2026-49241?

CVE-2026-49241 affects Angular.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Angular","product":"EDS-518A","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-26.