GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(platform-server): update domino to prevent CSS property injection by JeanMeche · Pull Request #72225 · angular/angular

Conversation

@JeanMeche

@JeanMeche JeanMeche commented Nov 26, 2026

Copy link
Copy Markdown
Member

Summary

Updates @angular/domino to commit b9790cece4dff4f248ce8a2f6e24042b6de2f39a (angular/domino#60), which enforces CSS Syntax Level 3 single-declaration validation in CSSStyleDeclaration.prototype.setProperty and prevents CSS property injection via single-property style bindings ([style.<prop>], [style.<prop>.<unit>], [style.--<var>]) during SSR.

Changes

  • Bumped domino digest from 51fa184 to b9790ce in package.json, packages/zone.js/package.json, packages/zone.js/test/typings/package.json, and pnpm-lock.yaml.
  • Added an SSR regression test in packages/platform-server/test/render_spec.ts verifying that semicolon + data: injection payloads are rejected while legitimate url(data:image/png;base64,...) values continue to work.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@angular-robot angular-robot Bot added the area: server Issues related to server-side rendering label Nov 26, 2026
@ngbot ngbot Bot added this to the Backlog milestone Nov 26, 2026
@JeanMeche
fix(platform-server): update domino to prevent CSS property injection
3298e53
Update `@angular/domino` to commit `b9790cece4dff4f248ce8a2f6e24042b6de2f39a`
(angular/domino#60), which enforces CSS Syntax Level 3 single-declaration
validation in `CSSStyleDeclaration.prototype.setProperty`. This prevents CSS
property injection via single-property style bindings (`[style.<prop>]`,
`[style.<prop>.<unit>]`, `[style.--<var>]`) during SSR.
@JeanMeche
JeanMeche force-pushed the fix/domino-css-property-injection branch from 2699f5d to 3298e53 Compare November 26, 2026 12:36
@JeanMeche
JeanMeche marked this pull request as ready for review November 26, 2026 12:41
@JeanMeche
JeanMeche requested a review from alan-agius4 November 26, 2026 12:41
@pullapprove
pullapprove Bot requested review from crisbeto and josephperrott November 26, 2026 12:41
crisbeto
crisbeto approved these changes Nov 26, 2026
View reviewed changes
alan-agius4
alan-agius4 approved these changes Nov 27, 2026
View reviewed changes
@alan-agius4 alan-agius4 added the target: minor This PR is targeted for the next minor release label Nov 27, 2026
@alan-agius4
alan-agius4 removed the request for review from josephperrott November 27, 2026 12:19
@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release and removed target: minor This PR is targeted for the next minor release labels Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@crisbeto crisbeto crisbeto approved these changes
@alan-agius4 alan-agius4 alan-agius4 approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

action: merge The PR is ready for merge by the caretaker area: server Issues related to server-side rendering target: patch This PR is targeted for the next patch release

Projects

None yet

Milestone

Backlog

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@JeanMeche @crisbeto @alan-agius4
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.