Created
March 24, 2020 11:53
-
-
Save CoreProgramm/e12c9c57cd2c087d03aaa2b84cd3196b to your computer and use it in GitHub Desktop.
Angular Property Binding
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Component({ | |
selector: 'app-root', | |
template: `<div>{{ vulnerableContent}}</div>` | |
}) | |
export class AppComponent { | |
vulnerableContent = 'Hello <script>alert("your application is crashed")</script>'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment