Skip to content
Security & Trust

This Angular flaw needs a specific code path. Ask if you have it

Only server-rendered Angular apps that pass untrusted input to processing instruction nodes inside fallback elements.

W
WebPulse Newsroom
AI-assisted · 4 min read
Share on X LinkedIn
This Angular flaw needs a specific code path. Ask if you have it

AI-generated image for WebPulse. About our images

Key finding

Sites where Angular was detected: 155 of 2,491 (Source: WebPulse scan of Tranco top-10,000 domains (September 2026))

Severity depends on the path, not only the flaw

Some flaws are risky wherever the software runs. Others are risky only along one path. The Angular advisory of September 28 is the second kind.

The lesson here is that "do we run Angular?" is the wrong first question. The better question is whether our code, or code we depend on, does what this flaw needs. That includes server rendering, and it includes untrusted input reaching the affected data.

What the advisory says

The GitHub Advisory Database describes a cross-site scripting flaw in @angular/platform-server. This part of Angular builds pages on the server before they reach the browser. The flaw is tracked as CVE-2026-88058.

Cross-site scripting lets an attacker run their own script inside a visitor's browser.

The flaw involves a piece of markup called a processing instruction. It looks like <?target data?>. Some tags, such as <noscript> and <iframe>, hold fallback content. When the server wrote a processing instruction inside one of them, it escaped the ">" character. It did not check for a closing tag that matched the container.

That gap matters. A closing tag hidden in the data can end the container early. In a browser with scripting on, the elements after it then run as live HTML.

The advisory says an attacker who controls that data can run any JavaScript in victims' browsers.

Reaching the flaw takes specific conditions

Standard Angular templates cannot create these nodes. The advisory says they turn such markup into comments instead.

To reach the flaw, application or library code must call createProcessingInstruction through inject(DOCUMENT). Renderer2 insertion methods are the other route. In both cases, untrusted user input must land in the data, inside a fallback container, during server rendering.

Note the words "or library code." The risky call may sit in a dependency, not in code your own team wrote. So a search of your own repository may not be enough.

The advisory does not say how many applications meet these conditions. That is why the check matters. The advisory text also gives no severity score. It does not say attacks have been seen. It does not list affected version ranges. Read the linked releases and the NVD entry for those details.

What WebPulse data adds

WebPulse scanned the Tranco top 10,000 domains in September 2026. Of 7,064 that responded, a platform was detected on 2,491. Angular was detected on 155 of them, or 6.2% of detected sites.

Detection reads public page signatures. It cannot show whether a site uses server rendering. It cannot show whether a site makes the risky call. So the figure shows how many organisations may need to ask the question. It does not show how many are exposed.

NVD data, refreshed September 29, lists 24 CVEs matched to Angular. Twenty-three were published in the last 12 months. None is rated critical. None is in CISA's Known Exploited Vulnerabilities catalog.

With that many Angular CVEs in a year, teams need a fast way to decide which ones apply to them.

Linked releases and interim steps

The advisory links three Angular releases. The text we reviewed does not say which release lines are affected. Ask the team to check the release notes and the NVD entry, and to verify that the release for each line in use carries the fix.

The advisory also names two interim steps. First, avoid passing untrusted input to createProcessingInstruction when the node lands inside <noscript>, <iframe>, <noembed> or <noframes> during server rendering.

Second, replace < with &lt; in any untrusted data given to these nodes on the server.

Questions to put to your team

Ask which of our Angular applications use server rendering. Ask whether any of our code, or any dependency, creates processing instruction nodes or inserts nodes through Renderer2. Ask whether user-supplied data can reach those calls.

Then ask which release line each application runs, and who decides when it moves.

A version scanner can list every Angular application. Only a code review, including dependencies, shows which ones can actually be reached.

Produced by the WebPulse Newsroom with AI assistance from the original reporting credited below, and checked against that source by our editorial review. How we use AI.
Original reporting: GitHub Advisory Database.