CSP errors #15965
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Type: Security
Issue contains a security problem or enhancement related to a specific component
v18-port
Milestone
There are several csp errors with the components below:
This happens due to wrong order of actions when appending the style elements to the DOM.
How it's now:
1- a style element is created in TS
2- a style element is added to the DOM
3- nonce attribute is added to the DOM
How it should be:
1- a style element is created in TS
2- the nonce attribute is added to the style element
3- style element is added to the DOM
The text was updated successfully, but these errors were encountered: