Closed (fixed)
Project:
Custom Elements
Version:
8.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Nov 2022 at 14:46 UTC
Updated:
23 Dec 2022 at 10:39 UTC
Jump to comment: Most recent
Comments
Comment #3
petar_basic commentedComment #4
useernamee commentedcode looks good and tests that also check this are passing.
Comment #5
mostepaniukvmI was very close to merge PR but start doubting if it is absolutely safe and if there is no scenario in which it can turn out as a potential security vulnerability.
not sure if we can afford to run Xss::filter() on a result string? Or we require to keep HTML unchanged?
Comment #6
fagothere is no need to, twig runs auto-escaping on attribute values. this is good and the right place since we don'T want the escaping run when the value is put into the json serialzation of the output. so I think this is good to go
Comment #8
mostepaniukvmThanks for the confirmation and explanation, merged and will tag new release soon