Juan Denis
c2229b6874
Strip comments and PIs from sanitized SVG icons
...
scrub() walked element children only, so comments, processing
instructions and CDATA passed through. They survive XML serialization
but close early when React re-parses the string as HTML (<!-->, <?x >),
so a registry or plugin icon could smuggle out an <img onerror> and run
script with the tokens in localStorage. Keep only allowed elements and
text; a browser regression runs eight bypass payloads in CI.
2026-10-10 06:36:41 -04:00
..
2026-09-05 05:24:35 -04:00
2026-10-05 00:58:54 -04:00
2026-07-25 05:05:39 -04:00
2026-09-04 22:20:19 -04:00
2026-10-09 00:21:04 -04:00
2026-10-04 03:29:16 -04:00
2026-10-04 18:14:10 -04:00
2026-10-04 17:46:37 -04:00
2026-08-20 08:50:13 -04:00
2026-08-20 00:04:29 -04:00
2026-07-10 23:42:57 -04:00
2026-10-03 23:33:06 -04:00
2026-09-05 05:24:35 -04:00
2026-08-19 05:35:28 -04:00
2026-09-05 05:24:35 -04:00
2026-09-05 05:24:35 -04:00
2026-10-09 00:21:04 -04:00
2026-07-22 23:55:19 -04:00
2026-10-04 01:42:34 -04:00
2026-09-05 05:24:35 -04:00
2026-10-04 04:30:42 -04:00
2026-10-04 22:27:22 -04:00
2026-09-04 22:20:19 -04:00
2026-08-20 00:16:04 -04:00
2026-10-04 04:10:02 -04:00
2026-09-05 05:24:35 -04:00
2026-08-20 08:50:13 -04:00
2026-10-04 18:14:10 -04:00
2026-08-29 14:53:27 -04:00
2026-09-05 05:24:35 -04:00
2026-09-05 05:24:35 -04:00
2026-09-05 05:24:35 -04:00
2026-09-05 05:24:35 -04:00
2026-10-09 00:21:04 -04:00
2026-09-05 14:41:15 -04:00
2026-09-05 14:41:15 -04:00
2026-09-07 23:34:57 -04:00
2026-10-10 06:36:41 -04:00
2026-10-05 00:45:01 -04:00
2026-10-05 00:58:49 -04:00
2026-09-05 05:24:35 -04:00
2026-07-23 00:24:00 -04:00