-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Description
This (see code snippet below) currently works without any warning etc.
Imagine test being user input. Since many developers just use frameworks for the comfort to not having to think about XSS and other security relevant things, maybe it would be a good idea to at least issue a warning to the console when this occurs? React acutally made this deprecated and plans to make it stop working.
<script lang="ts">
let test = `javascript:alert('1')`;
</script>
<main>
<a href={test}>test</a>
</main>
mohe2015, umwwwelt and lovasoapeopledrivemecrazy and mohe2015
Metadata
Metadata
Assignees
Labels
No labels