Skip to main content

Angular Common CVE-2026-54268

| EUVDEUVD-2026-38273 HIGH
Uncontrolled Resource Consumption (CWE-400)
2026-06-15 https://github.com/angular/angular GHSA-48r7-hpm6-gfxm
8.2
CVSS 4.0 · Vendor: https://github.com/angular/angular
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify Angular SSR endpoint passing user input to formatDate/DatePipe
  2. Delivery
    Craft request with extremely long repeating format string
  3. Exploit
    Submit HTTP request to SSR route
  4. Execution
    Regex split loop consumes CPU and heap
  5. Persist
    Node process throws heap out of memory
  6. Impact
    SSR application unavailable to all users

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the target Angular application (a) calls formatDate from @angular/common or renders a value through DatePipe, AND (b) passes the format parameter from untrusted input such as a query string, request body, user-preferences blob, or upstream API response. Hardcoded format tokens like 'mediumDate', 'shortTime', or any static literal are NOT exploitable, and applications that already length-validate the format string under 256 characters are also unaffected. Impact severity further depends on rendering mode: SSR yields a server-wide OOM crash; CSR only freezes the victim's own browser tab. No authentication is required by the format API itself (CVSS PR:N), but the AT:P attack requirement in the 4.0 vector reflects this non-default coding pattern.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H) correctly captures an unauthenticated, network-reachable availability-only impact with an attack requirement (AT:P) reflecting the precondition that the format string must be attacker-controlled, which is exactly what the advisory's preconditions section states. There is no EPSS score, no CISA KEV listing, and no public exploit code identified at time of analysis, so real-world risk is concentrated on Angular SSR deployments that bind formatDate/DatePipe inputs to untrusted parameters - a non-default coding pattern. Where that pattern exists the impact is severe (full SSR process OOM, denial of service to all users), but most Angular apps hardcode format tokens like 'mediumDate', which substantially limits the exposed population versus what the 8.2 score alone suggests.

Exploit ScenarioDerived

An attacker identifies an Angular SSR endpoint that renders a date using a format string sourced from a query parameter, user preference, or API response - for example ?dateFormat=. They send a single HTTP request with format=yyyyyyyy… repeated tens of thousands of times; the server-side formatDate parser loops over the regex, exhausts the Node heap, and the SSR process crashes with JavaScript heap out of memory, denying service to every concurrent user until the process restarts. No public exploit identified at time of analysis, but the regression test in the patch (formatDate(date, 'y'.repeat(257), …)) is a working proof of the trigger.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – Jun 22, 2026

Denial of service in @angular/common's formatDate function (and the DatePipe that wraps it) allows remote attackers to exhaust CPU and memory by supplying an excessively long, attacker-controlled date format string. On Server-Side Rendered Angular apps this triggers a JavaScript heap out-of-memory crash that takes down the application for all users; on Client-Side Rendered apps it freezes the victim's browser tab. No public exploit identified at time of analysis, but the upstream patch and regression tests are public in angular/angular#69197.

Earlier versions of this analysis (2)
v2 Jun 22, 2026 - 16:59 cvss changed CVSS 8.2

Denial of service in @angular/common allows remote unauthenticated attackers to exhaust CPU and memory by supplying an excessively long date format string to the formatDate function or DatePipe. Server-side rendered Angular applications can be crashed with a JavaScript heap out-of-memory error, while client-side applications experience browser tab freezes; no public exploit identified at time of analysis, though the upstream patch and PR diff are publicly visible.

v1 Jun 15, 2026 - 17:53

Denial of service in Angular's @angular/common package allows attackers to crash server-side rendered applications or freeze client browsers by supplying excessively long date format strings to the formatDate function or DatePipe. The vulnerable parser splits input iteratively via regex, causing uncontrolled CPU and memory consumption (CWE-400) that triggers JavaScript heap-out-of-memory crashes on Node SSR servers and main-thread freezes in browsers. No public exploit identified at time of analysis, but the fix is publicly documented in upstream commit eeb03f4 and Angular maintainers have released patched versions 22.0.1, 21.2.17, and 20.3.25.

RemediationAI

Vendor-released patches are available - upgrade @angular/common to 22.0.1, 21.2.17, or 20.3.25 depending on which release line is in use, per GHSA-48r7-hpm6-gfxm. Applications still on Angular 19.x or earlier have no upstream fix and should plan a major-version upgrade; in the interim, the most effective compensating control is to ensure no untrusted input ever reaches the format argument of formatDate or DatePipe - either hardcode format tokens (e.g. 'mediumDate', 'shortTime') or validate length to under 256 characters before passing user-supplied values, mirroring the upstream MAX_DATE_FORMAT_LENGTH guard. For SSR deployments, additionally enforce request size and timeout limits at the reverse proxy and consider Node.js worker process recycling so a single OOM does not take down all concurrent users; the trade-off of strict length validation is that legitimate custom long format strings will be rejected, which is acceptable since real format strings are short.

Affected VersionsENISA

angular 21.0.0-next.0 < 21.2.17
angular 20.0.0-next.0 < 20.3.25
angular ≤ 19.2.25
angular 22.0.0-next.0 < 22.0.1

Affected Packages

npm @angular/common fix: 20.3.25, 21.2.17, 22.0.1
euvd angular fix: 20.3.25, 21.2.17, 22.0.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in npm, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw lives in packages/common/src/i18n/format_date.ts within the @angular/common npm package. The internal date-format parser iteratively splits the supplied format string with a regular expression in a loop, so input size drives parser work non-linearly and triggers uncontrolled resource consumption - the CWE-400 root cause. The fix introduces a MAX_DATE_FORMAT_LENGTH constant of 256 and an assertValidDateFormatLength guard that throws a RuntimeError (NG02300 SUSPICIOUS_DATE_FORMAT) before parsing begins. Affected CPEs are pkg:npm/@angular_common across the 19.x, 20.x, 21.x and 22.x release lines.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/angular/angular) PRIMARY 8.2 HIGH
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.5 HIGH

Network-reachable SSR endpoint, no authentication or user interaction, low complexity once a user-controlled format sink exists; availability-only impact via OOM, no confidentiality or integrity effect.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 5.3 MEDIUM

Primary rating from Vendor (https://github.com/angular/angular).

CVSS VectorVendor: https://github.com/angular/angular

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Analysis Updated
Jun 22, 2026 - 16:59 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 22, 2026 - 16:59 vuln.today
v2 - CVSS changed
CVSS changed
Jun 22, 2026 - 16:52 NVD
8.2 (HIGH)

DescriptionCVE.org

A Denial of Service (DoS) vulnerability exists in the @angular/common package of the Angular framework. The formatDate function, which is also utilized by the standard Angular DatePipe, does not properly limit or validate the length of the format parameter.

When parsing a maliciously crafted, excessively long date format string (e.g., a repeating pattern or very large string), the internal parser splits the string iteratively using a regular expression loop. This results in uncontrolled resource consumption (high CPU utilization and excessive memory allocations), leading to a Denial of Service (DoS).

Impact

1. Server-Side Rendering (SSR)

In Angular applications that leverage Server-Side Rendering, an attacker can supply a malicious payload with an excessively long date format string. Processing this on the server causes high CPU usage and triggers a JavaScript heap out of memory crash, rendering the application unavailable to all users.

2. Client-Side Rendering (CSR)

In standard client-side applications, executing the vulnerable function with an excessively long format string blocks the browser's main thread, causing the browser tab to freeze and become completely unresponsive.

Patched Versions

  • 22.0.1
  • 21.2.17
  • 20.3.25

Attack Preconditions

For this vulnerability to be exploitable, both of the following conditions must be met:

  1. Vulnerable Component Usage: The application must format dates using the formatDate utility or the DatePipe.
  2. Attacker-Controlled Parameter: The date format string passed to these utilities must be customizable or directly controlled by untrusted user input (e.g., parsed from query parameters, user preferences, or API responses).

*If the date format is hardcoded (e.g., 'mediumDate', 'shortTime', or static strings) or properly validated to be within a reasonable length limit, the application is not vulnerable.*

Executive ViewAI

Why It Matters

Angular web applications using @angular/common contain a denial-of-service vulnerability (CVE-2026-54268) that allows attackers to crash server-side rendered instances entirely or freeze user browsers by submitting malicious date format strings. This availability risk impacts all users on vulnerable systems and requires immediate patching to prevent production outages.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 77% exploitable
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

41
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +41
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy