Gusted f32de0a97c Prevent possible XSS when using jQuery (#18289)
In the case of misuse or misunderstanding from a developer whereby,
if `sel` can receive user-controlled data, jQuery `$(sel)` can lead to the
creation of a new element. Current usage is using hard-coded selectors
in the templates, but nobody prevents that from expanding to
user-controlled somehow.
2022-01-16 13:14:32 +08:00
S
Description
No description provided
Apache-2.0
14 MiB
1 Stars 1 Watchers 0 Forks
Languages
TypeScript 42%
MDX 31.2%
Astro 7.9%
JavaScript 6.4%
Shell 6.3%
Other 6.2%