Skip to content

fix: Escapes </noscript in raw text when scripting enabled#29

Open
SkyZeroZx wants to merge 1 commit into
angular:mainfrom
SkyZeroZx:fix/xss-noscript
Open

fix: Escapes </noscript in raw text when scripting enabled#29
SkyZeroZx wants to merge 1 commit into
angular:mainfrom
SkyZeroZx:fix/xss-noscript

Conversation

@SkyZeroZx
Copy link
Copy Markdown

@SkyZeroZx SkyZeroZx commented May 23, 2026

Ensuring raw text within <noscript> elements is properly escaped during serialization if scripting is enabled. Adds a test to verify controlled payloads cannot break out of <noscript> and inject scripts.

Fixes angular/angular#68903

Prevents XSS by ensuring raw text within `<noscript>` elements is properly escaped during serialization if scripting is enabled.
Adds a test to verify controlled payloads cannot break out of `<noscript>` and inject scripts.

Fixes angular/angular#68903
@alan-agius4 alan-agius4 self-requested a review May 24, 2026 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

<noscript> text serialization in Angular SSR

1 participant