The newest Cross-Site Scripting (XSS) resources are on the Cross-Site Scripting (XSS) page. For a reading order instead of a date order, see the Cross-Site Scripting (XSS) learning path.
| Date Added | Link | Excerpt |
|---|---|---|
| 2017-03-07 2017 | How I Stole Plunker Session Tokens With Angular Expressions intermediate 7 min read | Angular expression injection on Plunker allowed for the theft of session tokens by embedding malicious expressions within the plunk description meta tag. This vulnerability leveraged the misconfiguration of server-side templates being evaluated by client-side Angular, enabling an attacker to exfiltrate session IDs via crafted `<img>` tags that sent requests to an external logging service. The exploit ultimately allowed for account hijacking by replacing the victim's session cookie with the stolen token. |
| 2017-03-07 2017 | XSS without HTML: Client-Side Template Injection with AngularJS : netsec intermediate | The Reddit post titled "XSS without HTML: Client-Side Template Injection with AngularJS" in the netsec subreddit has garnered 177 votes and 10 comments. The post likely discusses a security vulnerability related to AngularJS that allows for client-side template injection without the use of HTML, potentially leading to cross-site scripting (XSS) attacks. The content appears to be focused on raising awareness about this security issue within the AngularJS framework. |
| 2017-03-07 2017 | Angular Template Injection Payloads intermediate | Library of Angular template injection payloads, including techniques for exploiting versions 1.3.0 through 1.6.0. This resource details payloads utilizing JavaScript and SVG for code execution, such as `{{constructor.constructor('alert(1)')()}}`, `{{7*7}}`, and SVG `<animate>` tags with `javascript:alert(1)`. It also references specific Angular issues like #14939 and #11290. |
| 2017-03-07 2017 | PortSwigger Web Security Blog: Adapting AngularJS Payloads to Exploit Real intermediate 3 min read | Adapting AngularJS payloads to exploit Piwik and Uber involves bypassing filtering and encoding by leveraging JavaScript sandbox escape techniques. This requires overcoming character restrictions and code limitations by manipulating prototype properties and utilizing existing objects to construct malicious payloads, such as using unicode escapes for Piwik and employing string manipulation methods like `toString()` and `fromCharCode()` for Uber, demonstrating advanced exploitation within restricted environments. |
| 2017-03-07 2017 | PortSwigger Web Security Blog: XSS without HTML: Client-Side Template Injec intermediate 11 min read | AngularJS client-side template injection, a vulnerability often overlooked by developers, can be leveraged to execute cross-site scripting (XSS) attacks. This technique exploits the way AngularJS processes user input within templates, allowing attackers to inject malicious expressions. By combining template injection with a sandbox escape, specifically by backdooring native JavaScript functions like `String.fromCharCode` or `charCodeAt`, attackers can bypass Angular's sanitization and execute arbitrary JavaScript code, compromising otherwise secure applications. |
| 2017-03-07 2017 | ng-owasp: OWASP Top 10 for AngularJS Applications intermediate | The content discusses the OWASP Top 10, a list of critical web application security risks, and how they apply to AngularJS applications. It explores security vulnerabilities specific to AngularJS, aiming to address and mitigate these risks. The focus is on understanding and implementing security measures to protect AngularJS applications from potential threats outlined in the OWASP Top 10 list. → slideshare.net |
| 2016-02-10 2016 | Preventing XSS Attacks in ASP.NET MVC using ValidateInput and AllowHTML - C intermediate | The blog discusses preventing XSS (Cross Site Security) attacks in ASP.NET MVC by utilizing ValidateInput and AllowHTML features. It aims to provide insights on how to enhance security measures to mitigate XSS vulnerabilities in ASP.NET MVC applications. |