appsec.fyi › Cross-Site Scripting (XSS)

Cross-Site Scripting (XSS) Resources

Page 10 of 10: resources 451–457 of 457, added Feb 2016 to Mar 2017.

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 AddedLinkExcerpt
2017-03-07 2017How I Stole Plunker Session Tokens With Angular Expressions intermediate 7 min readAngular 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 2017XSS without HTML: Client-Side Template Injection with AngularJS : netsec intermediateThe 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 2017Angular Template Injection Payloads intermediateLibrary 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 2017PortSwigger Web Security Blog: Adapting AngularJS Payloads to Exploit Real intermediate 3 min readAdapting 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 2017PortSwigger Web Security Blog: XSS without HTML: Client-Side Template Injec intermediate 11 min readAngularJS 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 2017ng-owasp: OWASP Top 10 for AngularJS Applications intermediateThe 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 2016Preventing XSS Attacks in ASP.NET MVC using ValidateInput and AllowHTML - C intermediateThe 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.