Skip to content

fix(compiler): add missing URL-sanitized attribute pairs to security schema#69162

Closed
fg0x0 wants to merge 2 commits into
angular:mainfrom
fg0x0:fix/dom-security-schema-url-gaps
Closed

fix(compiler): add missing URL-sanitized attribute pairs to security schema#69162
fg0x0 wants to merge 2 commits into
angular:mainfrom
fg0x0:fix/dom-security-schema-url-gaps

Conversation

@fg0x0
Copy link
Copy Markdown

@fg0x0 fg0x0 commented Jun 4, 2026

Add 12+ missing (tag, attr) pairs to URL sanitization list in dom_security_schema.ts.

SVG: use, image, feImage | Media: audio, source, track, video poster | Legacy: body/table/td/th background | img srcset

Related: CVE-2026-22610, CVE-2026-27970, CVE-2026-32635.

fg0x0 added 2 commits June 5, 2026 04:05
…INKS

Incomplete fix of CVE-2026-32635. These three RESOURCE_URL attributes
were missing from the Trusted Types sink list.
@angular-robot angular-robot Bot added the area: compiler Issues related to `ngc`, Angular's template compiler label Jun 4, 2026
@ngbot ngbot Bot added this to the Backlog milestone Jun 4, 2026
@alan-agius4
Copy link
Copy Markdown
Contributor

None of these seem to be valid cases for an XSS.

In the case an XSS is possible in one or more browsers that Angular supports, please provide a reproduction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: compiler Issues related to `ngc`, Angular's template compiler

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants