Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions packages/compiler/src/schema/trusted_types_sinks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ const TRUSTED_TYPES_SINKS = new Set<string>([
'iframe|src',
'object|codebase',
'object|data',

// RESOURCE_URL sinks missing from original Trusted Types integration.
// These are classified as RESOURCE_URL in dom_security_schema.ts and must
// be blocked in i18n attribute bindings (same as embed|src, iframe|src).
'base|href',
'frame|src',
'link|href',
]);

/**
Expand Down
Loading