appsec.fyi › Cross-Site Scripting (XSS)

Cross-Site Scripting (XSS) Resources

Page 7 of 9: resources 301–350 of 443, added Sep 2023 to Aug 2025.

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
2025-08-14 2025Reflected XSS via AngularJS Template Injection | Hostinger intermediateThe content title mentions "Reflected XSS via AngularJS Template Injection" on Hostinger. This indicates a security vulnerability where attackers can inject malicious code into AngularJS templates, leading to cross-site scripting (XSS) attacks. The vulnerability allows attackers to execute scripts in the context of a user's browser, potentially compromising sensitive data or performing unauthorized actions on the affected website. It highlights the importance of securing web applications against such vulnerabilities to prevent exploitation and protect user data.
2025-08-14 2025s0md3v/AwesomeXSS intermediate 4 min readLibrary of XSS resources, including challenges, tools, and payloads. It details numerous XSS vectors and bypass techniques, referencing specific sinks and sources from domxsswiki. Examples include SVG onload events, JavaScript context breaking with encoded characters, attribute injection using polyglots, and bypassing filters by omitting spaces, quotes, or the equal sign in payloads. The resource also provides methods for shortening URLs and avoiding common XSS detection keywords like "alert."
2025-08-14 2025How I found a XSS vulnerability within the response field intermediateThe content discusses how a security researcher discovered a cross-site scripting (XSS) vulnerability within a response field. The researcher explains the steps taken to identify and exploit the vulnerability, highlighting the importance of thorough testing and responsible disclosure. The article serves as a valuable resource for understanding XSS vulnerabilities and the process of reporting them for responsible disclosure.
2025-04-23 2025Cross-Site WebSocket Hijacking Exploitation in 2025 - Include Security Research Blog intermediate 10 min readAnalysis of Cross-Site WebSocket Hijacking (CSWSH) exploitation, detailing how browser security improvements like Third Party Cookie Restrictions, Private Network Access, SameSite=Lax by default, and Firefox's Total Cookie Protection increasingly limit its effectiveness. It recaps CSWSH prerequisites, including cookie-based authentication with SameSite=None and missing Origin validation on WebSocket servers, and explores how these mitigations impact exploitability through case studies. → blog.includesecurity.com
2025-04-11 2025XSS payloads for href beginnerXSS payloads for href. GitHub Gist: instantly share code, notes, and snippets.
2025-04-09 2025Controlling XSS Using A Secure WebSocket CLI - InfoSec Write-ups intermediateWhen experimenting with Cross-Site Scripting (XSS), what’s the quickest way to test multiple payloads efficiently? Not long ago, I set up an XSS server that serves remote payloads, which can easily… → infosecwriteups.com
2025-04-01 2025GitHub - Leviticus-Triage/XSS_Hunter: Ein Framework zur automatisierten Erkennung und Exploitation von XSS-Schwachstellen intermediate 4 min readFramework for automated detection and exploitation of XSS vulnerabilities. It leverages machine learning for payload generation, WAF detection and evasion, and robust vulnerability validation. Features include scan, exploit, payload, and report modes, with options for screenshots, callback servers for blind XSS, and various validation levels for accuracy. It supports authenticated scans and DOM-based XSS detection.
2025-03-31 2025Javascript Recon for Bug Bounty & Pentesting intermediate Bug Bounty ReconHidden endpoints, secrets, and DOM XSS using Automated JS Analysis
2025-03-30 2025Stored XSS in My Flow To RCE in Opera Browser #2 - Renwa - Medium intermediate 2 min read Bug Bounty RCEStored XSS in Opera's My Flow functionality allows for remote code execution by exploiting a flaw in how user-supplied text is processed. While `escapeHtml` attempts to sanitize input, it fails to encode double quotes, enabling attackers to break out of `<a>` tag `href` attributes and inject arbitrary HTML and event handlers. This vulnerability, when combined with Opera's feature to send web content to My Flow and a privileged background extension, permits attackers to write arbitrary files to the system and execute code with minimal user interaction.
2025-02-20 2025How I got a Stored XSS by searching through JS files. intermediate 2 min read Bug BountyStored XSS vulnerability identified by searching JavaScript files for hidden endpoints, specifically `/platform/apps/lighthouse-homepage`. The vulnerability allows for the injection of HTML payloads, leading to client-side script execution. Successful exploitation involved crafting an `<a>` tag with a `javascript:` URI scheme to exfiltrate sensitive Personally Identifiable Information (PII) from `localStorage` to a collaborator server.
2025-02-01 2025Tiny XSS Payloads beginnerTiny XSS Payloads is a collection of extremely short Cross-Site Scripting (XSS) payloads, offering concise examples for various injection scenarios. The resource showcases techniques like leveraging `<svg>`, `<style>`, and `<iframe` tags with event handlers like `onload` and `onerror`, alongside payloads that utilize `eval`, `location`, and `import` to achieve script execution. It categorizes these payloads by their effectiveness and bypasses, demonstrating minimalist approaches to exploit common web vulnerabilities.
2025-01-28 2025domloggerpp/.github/images/firefox_manual.png at main · kevin-mizu/domloggerpp · GitHub intermediateA browser extension that allows you to monitor, intercept, and debug JavaScript sinks based on customizable configurations. - kevin-mizu/domloggerpp
2025-01-28 2025Cross Site Scripting - Payloads All The Things intermediate 10 min readReference containing a comprehensive collection of Cross-Site Scripting (XSS) payloads and techniques. It details reflected, stored, and DOM-based XSS, offering proof-of-concept examples for data exfiltration and session hijacking, including payloads for HTML, SVG, and various HTML5 tags. The resource also lists tools like XSSStrike, xsser, Dalfox, and XSpear for identifying XSS vulnerabilities.
2025-01-23 2025XSS Penetration Testing Tool | Advanced Web Security for Pen Testers intermediate 4 min readxss0r is an advanced automated XSS vulnerability scanner for penetration testers and bug bounty hunters, offering over 4500 payloads, WAF bypass techniques, and blind XSS automation. The tool supports both GET and POST requests, performs fast reflection checks, DOM coverage, and provides detailed HTML and downloadable PDF, CSV, and JSON reports with screenshots and affected URL links for confirmed alerts.
2025-01-19 2025Google XSS Game beginner 4 min readGoogle's XSS Game is an interactive challenge designed to help developers learn how to find, exploit, and prevent cross-site scripting (XSS) vulnerabilities. Through multiple levels mimicking real-world applications, players practice identifying common coding patterns that lead to XSS, such as improper input handling and context-dependent escaping. The game provides hands-on experience with various attack vectors and payload injection techniques to reinforce secure coding practices.
2024-12-31 2024GitHub - 11whoami99/XSS-keylogger: A Simple JS code to keylogger data and send it to the personal server intermediateA Simple JS code to keylogger data and send it to the personal server - 11whoami99/XSS-keylogger
2024-12-21 2024GitHub - Cybersecurity-Ethical-Hacker/xssdynagen: 🪄 XSSDynaGen is a tool designed to analyze URLs with parameters, identify the characters allowed by the server, and generate advanced XSS payloads based on the analysis results. intermediate 6 min readLibrary for dynamic XSS payload generation; analyzes URLs with parameters to identify server-allowed characters and constructs advanced payloads. Features asynchronous processing, parameter character testing with canary-based reflection verification, customizable character sets, and advanced evasion techniques like null bytes and Unicode encoding. Supports batch processing, proxy routing (Burp Suite, ZAP, mitmproxy), configurable rate limiting, and automatic retries. Output includes structured JSON with detailed analysis and generated payloads, or plain text.
2024-11-15 2024GreHack 2024 | Playing with HTML parsing to bypass DOMPurify on default configuration advanced 6 min readSlides from GreHack 2024 detail techniques for bypassing DOMPurify's default configuration through HTML parsing manipulation. The presentation covers exploiting DOMPurify versions 2.0.0, 3.0.0, 3.1.0, 3.1.1, and 3.1.2, demonstrating vulnerabilities related to node flattening, insertion modes, namespace switching, DOM clobbering, and attribute sanitization. It highlights specific bypasses achieved by leveraging HTML integration points, nested structures, and mutated elements to achieve cross-site scripting.
2024-11-13 2024JavaScript for Hacking Made Easy: Expert Guide beginner 24 min readGuide to using JavaScript for ethical hacking, detailing how its client-side execution enables attacks like Cross-Site Scripting (XSS) and Cross-Site Request Forgery (CSRF). It introduces the browser's developer console for debugging and analysis, and demonstrates vulnerability identification using OWASP ZAP against targets like Damn Vulnerable Web Application (DVWA).
2024-11-13 2024[HackerNotes Ep.95 & Ep.96] Cookies, Caching & Attacking Chrome Extensions with MatanBer advanced 21 min read TalksAttacking Chrome Extensions involves understanding their components: content scripts injecting code into web pages, service workers managing background functionality, extension pages for UI, and manifest files for configuration. Techniques discussed include direct DOM injection, closed shadow DOM injection with CSS leakage and clickjacking, and exploiting misconfigurations in `web_accessible_resources` or `externally_connectable` settings for extension pages and service workers. The resource also covers debugging extensions and service workers, and references client-side gadgets from the HeroV6 CTF related to cache API and service worker research.
2024-11-10 2024GitHub - whitel1st/docem: A tool to embed XXE and XSS payloads in docx, odt, pptx, xlsx files (oxml_xxe on steroids) intermediate 3 min read XXELibrary for embedding XXE and XSS payloads within common document formats like docx, odt, and pptx. Docem automates the process of replacing placeholder "magic symbols" in a sample document with specified payloads, offering granular control over payload placement per document, per file, or per placeholder. It serves as a more convenient alternative to tools like oxml_xxe when generating numerous poisoned documents.
2024-11-01 2024XSS Payloads beginnerXSS Payloads web site
2024-10-03 2024CSP Bypass Search intermediateCSP Bypass Search
2024-09-26 2024Simplifying XSS Detection with Nuclei - A New Approach intermediate 4 min readNuclei headless mode simplifies Cross-Site Scripting (XSS) detection by leveraging the `waitdialog` action to directly observe JavaScript execution. This new approach reduces the complexity of creating intricate, target-specific matchers by focusing on payload behavior rather than parsing specific response structures, leading to more accurate results with fewer false positives.
2024-09-24 2024xssorRecon/xss0rRecon.sh at main · xss0r/xssorRecon beginner 25 min read Bug Bounty ReconLibrary for automated web application security reconnaissance and XSS vulnerability detection. This tool streamlines the process of identifying potential XSS attack vectors by performing domain enumeration, URL crawling, parameter analysis, and utilizing specific sub-tools like HiddenParamFinder. It aims to prepare for and launch XSS detection, offering options for path-based XSS and domain input searches, and includes a guide for deploying the tool on VPS servers for continuous operation.
2024-09-23 2024GitHub - Emoe/kxss: This a adaption of tomnomnom's kxss tool with a different output format intermediateTool, a Go adaptation of tomnomnom's kxss, modifies the output format for improved grepability in recon scripts. It processes URLs to identify unfiltered characters like single quotes, double quotes, and angle brackets within parameters, presenting findings in a structured URL: [param] Unfiltered: [chars] format. Installation is handled via `go get github.com/Emoe/kxss`, and usage involves piping URLs to the executable.
2024-09-22 2024DOM-based XSS: Exploiting `document.write` with `location.search` intermediateCross-Site Scripting (XSS) vulnerabilities pose significant risks to web applications by allowing attackers to inject malicious scripts…
2024-09-13 2024GitHub - xss0r/xssorRecon: Automate Recon XSS Bug Bounty beginner Bug Bounty ReconLibrary for automating XSS bug bounty reconnaissance. This tool requires downloading and extracting various files, including tools and wordlists, to a single directory for proper operation. Users can access a free five-day Pro plan license from the 10th to the 15th of each month via store.xss0r.com to explore the full functionality before potential purchase.
2024-09-01 2024Bypassing CSP via URL Parser Confusions : XSS on Netlify’s Image CDN advanced 6 min readBypassing CSP via URL parser confusions led to XSS on Netlify's Image CDN. An attacker uploaded an HTML file to a whitelisted CDN domain by mimicking a `image/png` content type, then exploited a URL parsing confusion in Netlify's image endpoint by using encoded characters (`%2f`) in the path. This manipulation caused Netlify to serve the response without the strict `script-src 'none'` CSP, enabling XSS execution on `app.netlify.com`.
2024-08-24 2024Top 10 XSS Payloads beginner 5 min readTop 10 XSS Payloads presents a curated list of effective Cross-Site Scripting (XSS) payloads that are common in real-world web attacks, prioritizing simplicity and widespread applicability over complex, specialized techniques. The selection focuses on payloads that bypass common filters and can be exploited across various scenarios, including inline injections, arbitrary tags with event handlers like `OnFocus` and `OnLoad`, and techniques leveraging base href attributes and SVG elements.
2024-08-22 2024BChecks/vulnerability-classes/injection at main · PortSwigger/BChecks · GitHub intermediate Burp RCE SQLiBChecks collection for Burp Suite Professional and Burp Suite Enterprise Edition - PortSwigger/BChecks
2024-07-30 2024OAuth+XSS Attack Threatens Millions of Web Users With Account Takeover news 4 min read API Sec AuthNOAuth+XSS attack vector potentially compromises millions of web users through account takeover by combining modern authentication flaws with longstanding cross-site scripting vulnerabilities. Researchers at Salt Security demonstrated this threat by exploiting API security flaws within Hotjar and the Business Insider website, leveraging OAuth's token-sharing mechanism to inject malicious code and steal sensitive data. This widespread vulnerability highlights the critical need for secure implementation of authentication standards like OAuth. → darkreading.com
2024-07-22 2024Understanding DOM-Based XSS: Sources and Sinks intermediate 5 min readGuide to DOM-based XSS, detailing how JavaScript sources like `location.search` and sinks such as `document.write()` and `innerHTML` can be exploited when user input is passed unsafely. It illustrates a practical example involving a `storeId` parameter and outlines prevention through input validation and sanitization.
2024-07-22 2024Best Approach to DOM XSS intermediate 5 min readDOM-based XSS vulnerabilities arise when client-side JavaScript, lacking proper sanitization, manipulates the Document Object Model (DOM) environment with attacker-controlled data. This can lead to unexpected execution of malicious scripts, often by tricking functions like `eval()` or `innerHTML` (sinks) into processing untrusted input from sources like URL parameters. Identifying these vulnerabilities involves pinpointing the vulnerable sink and then crafting payloads to escape tags or exploit sink behavior, as demonstrated with examples like injecting script tags or using `onerror` attributes.
2024-07-22 2024DOM XSS: What Is DOM-based Cross-Site Scripting And How can you Prevent it? beginner 6 min readDOM-based cross-site scripting, a client-side vulnerability impacting up to 50% of websites and found in major companies, occurs when an attacker's payload is executed by altering the Document Object Model in a victim's browser. Unlike reflected or stored XSS, the server's HTTP response remains unchanged, but flawed client-side scripts, referencing data from sources like `document.URL` or `location.search` and passing it to sinks such as `eval` or `document.write`, can lead to malicious code execution. Prevention involves sanitizing client-side code and refraining from using client data for sensitive actions on the client. → brightsec.com
2024-07-22 2024DOM Based XSS | Tutorial & Examples | Snyk Learn | Snyk Learn beginner 3 min readTutorial on DOM XSS vulnerabilities, explaining how attackers manipulate the Document Object Model with client-side code injected via user-controllable sources like `eval()`, `document.write()`, or `innerHTML` sinks. It demonstrates exploiting a personalized profile color feature by escaping URL query parameters and recommends mitigating this by directly assigning color values to `document.body.style.color`, sanitizing input with libraries like `node-esapi`, or employing Content Security Policy (CSP) with nonces.
2024-07-22 2024DOM-Based Cross-Site Scripting (DOM XSS) Explained beginner👍👍👍 and subscribe for more DOM XSS tutorials: https://www.youtube.com/channel/UC2vVVgKKzN-Gb_xeaUY0o-Q?sub_confirmation=1Check out my best selling AppSec ...
2024-07-22 2024What is DOM-based XSS (cross-site scripting)? Tutorial & Examples | Web Security Academy beginner 8 min readTutorial on DOM-based XSS vulnerabilities, detailing how JavaScript sources like `window.location` can pass attacker-controllable data to sinks such as `eval()` or `innerHTML`, enabling malicious JavaScript execution. It covers manual testing techniques using browser developer tools to inspect HTML and JavaScript execution sinks, and introduces Burp Suite's DOM Invader extension for automated detection. The tutorial also explores exploiting DOM XSS through various sinks like `document.write()` and `innerHTML`, including examples with third-party dependencies like jQuery's `attr()` and `$()` functions. → portswigger.net
2024-07-22 2024DOM Based XSS | OWASP Foundation beginner 5 min read Bug BountyReference detailing DOM-based XSS (Type-0 XSS), a vulnerability where client-side scripts execute unexpectedly due to malicious modifications of the DOM environment, not the HTTP response itself. It provides examples, including a `decodeURIComponent` vulnerability and the fragment-based technique to bypass server-side detection, and mentions attacks against Adobe PDF plugins. The entry also references testing tools like DOM Snitch and the DOM XSS Wiki. → owasp.org
2023-12-20 2023XSSRF : The Matrimony of XSS and SSRF. advanced 2 min read SSRFXSSRF, the fusion of Cross-Site Scripting (XSS) and Server-Side Request Forgery (SSRF), enables attackers to escalate SSRF vulnerabilities. This technique involves submitting an external URL to a web application, which then fetches and stores the content without proper sanitization. A crafted XSS payload within this fetched content, when previewed by other users of the application, can lead to script execution and compromise campaign collaboration features.
2023-12-05 2023A Bunch of Web and XSS Challenges intermediate 9 min readAngularJS client-side template injection, DOM-based race conditions, and exploiting uncommon `Content-Type` headers like `multipart/mixed` are among the web and XSS challenges documented in this article. It also covers bypassing sanitization with techniques like DOM clobbering, leveraging `Scroll to Text Fragment` for XSS, and utilizing Chrome DevTools Protocol for headless mode downloads to read local files.
2023-12-01 2023Cookie Bugs - Smuggling & Injection intermediate 4 min readCookie smuggling and injection vulnerabilities are detailed, stemming from browser cookie encoding and web framework parsing inconsistencies. The research highlights surprising browser behaviors like cookie ordering and the ability to set an empty-named cookie, which can control other cookies. Exploitable bugs arise from incorrect parsing of quoted cookie values by Java web servers (Jetty, Tomcat, Undertow) and Python frameworks (Zope, CherryPy, Bottle, etc.), allowing attackers to exfiltrate sensitive cookies or bypass CSRF protection. Jetty addressed a related issue with CVE-2023-26049.
2023-11-02 2023JS-Tap: Weaponizing JavaScript for Red Teams intermediate 12 min readJS-Tap is a JavaScript library for red teamers that provides a generic, unauthenticated payload for extracting client-side application data. It collects information such as IP address, OS, browser, typed user inputs, visited URLs, cookies, local and session storage, HTML code, screenshots, and network API calls. JS-Tap operates in two modes: Trap Mode for XSS payloads that uses an iframe technique for persistence, and Implant Mode for direct injection into application JavaScript files. The collected data is accessible through a web-based portal for monitoring and analysis.
2023-10-05 2023Writeups for Damn Vulnerable Web Application (DVWA) beginner SQLiWriteups for Damn Vulnerable Web Application (DVWA) https://ift.tt/b6djesM
2023-10-05 20232023 Microsoft Office XSS intermediate 3 min readMicrosoft Office XSS allows arbitrary JavaScript execution when a user plays an embedded external video. Attackers can craft a video title containing a malicious payload that, when parsed by Office servers, injects an `onload` attribute into the iframe. This attribute, combined with the iframe's `allow-scripts` and `allow-same-origin` sandbox settings, enables the execution of attacker-controlled JavaScript when the video is viewed in a Word document.
2023-10-05 2023xss\ beginnerCross-site scripting (XSS) vulnerabilities are demonstrated with various payloads targeting different contexts, including `<img src=x onerror="...">`, `<iframe> srcdoc="..."`, and base64 encoded JavaScript. Techniques like obfuscating JavaScript constructors with octal escapes and exploiting OAuth `state` parameters for injection are showcased. The examples also include payloads designed to chain XSS with Local File Inclusion (LFI) and a method for mass injection.
2023-10-03 2023XSS to Exfiltrate Data from PDFs intermediate 4 min readXSS to exfiltrate data from PDFs describes how a stored Cross-Site Scripting vulnerability in a PDF generation function can be chained with Local File Inclusion (LFI) or Server-Side Request Forgery (SSRF) to retrieve internal server files, including sensitive data like SSH private keys. The technique involves injecting JavaScript into user-controlled inputs that are later rendered into a PDF by the application. By crafting specific payloads, an attacker can execute code on the server to read files and gain unauthorized access, as demonstrated on Hack The Box's "Book" machine.
2023-10-03 2023Is XSS Attack via PDF Javascript Possible? intermediateAnalysis of PDF JavaScript execution in browsers, investigating its potential for XSS attacks. The entry addresses whether JavaScript embedded within PDF documents, like the example using `app.alert`, can access browser data such as cookies or perform redirects, and whether sandboxing mechanisms prevent such actions when PDFs are opened via a web browser. → stackoverflow.com
2023-10-03 2023PDFBox - JavaScript in PDF Document beginner 2 min readPDFBox JavaScript in PDF documents allows embedding executable scripts into PDF files. Developers can leverage the `PDActionJavaScript` class within the PDFBox library to add JavaScript actions, such as alerts or custom logic, that execute when a PDF document is opened. This process involves loading an existing PDF, creating a `PDActionJavaScript` object with the desired script, setting it as the document's open action, and then saving the modified PDF.
2023-09-26 2023How Could a Self-XSS end with $$$$ intermediateHow Could a Self-XSS end with $$$$ https://ift.tt/681snfM