appsec.fyi

Cross-Site Scripting (XSS) Resources

Post Share

A curated AppSec resource library covering XSS, SQLi, SSRF, IDOR, RCE, XXE, OSINT, and more.

Cross-Site Scripting (XSS)

Cross-Site Scripting (XSS) attacks are a type of injection in which malicious scripts are injected into otherwise benign and trusted websites. XSS occurs when an attacker uses a web application to send malicious code, generally in the form of a browser-side script, to a different end user.

XSS remains one of the most prevalent web vulnerabilities, appearing in everything from search bars to user profile fields. The three main variants — Reflected, Stored, and DOM-based — each have distinct attack surfaces. Reflected XSS executes via a crafted URL, Stored XSS persists in the application's database and fires for every visitor, and DOM-based XSS exploits client-side JavaScript that unsafely handles user input without any server round-trip.

The impact of XSS extends well beyond simple alert boxes. Attackers leverage it for session hijacking, credential theft, keylogging, phishing overlays, and as a pivot point for deeper exploitation. In bug bounty programs, Stored XSS on authenticated pages consistently pays well because it can be chained into account takeover.

Modern defenses include Content Security Policy (CSP), output encoding, and frameworks that auto-escape by default — but bypasses are discovered regularly, making XSS a constantly evolving attack surface.

This page collects research, bypass techniques, payloads, and real-world writeups covering all forms of cross-site scripting.

From OWASP

What is actually left in XSS after twenty years of mitigations

The straightforward reflected XSS is mostly gone from mature targets, and that is a real change rather than a fashion. React, Angular and Vue escape by default, template engines auto-encode, and Content Security Policy raises the cost of the classic inline payload. If you are learning XSS now, the material that matters is not the alert(1) list — it is everything that routes around those defenses.

Three areas produce most current findings. The first is DOM XSS, which none of the server-side mitigations touch: the response is clean, the vulnerability lives in JavaScript that takes location.hash or a postMessage and reaches a sink like innerHTML, document.write or a framework escape hatch such as dangerouslySetInnerHTML. The second is mutation XSS, where a sanitizer and the browser's HTML parser disagree about what a string means, so markup that was safe when it was checked becomes executable once it is reparsed. The third is CSP bypass, which is usually not a flaw in CSP but a policy with a permissive host, a JSONP endpoint or an Angular-style gadget already on the allowlist.

Impact is where XSS reports still fail. A screenshot of an alert box demonstrates execution, not consequence. The writeups here that read as convincing are the ones that go on to do something: read a token out of storage, drive an authenticated state-changing request, chain into account takeover through a password-change flow. Stored XSS on an authenticated page pays well precisely because that chain is short.

Worth internalizing: context determines the escape, not the language. HTML body, attribute value, unquoted attribute, JavaScript string, URL and CSS each need different encoding, and a framework that encodes correctly for one of them will happily hand you a bug in another. Most of the bypass research collected below is, at bottom, about finding the place where the developer and the parser disagreed about which context they were in.

Start here: the XSS learning pathAn ordered route through this library — orientation, then methodology, then research. Read the XSS guideA long-form, source-cited deep dive synthesized from every resource below. The comprehensive XSS guide on chs.usA hand-written, in-depth practitioner guide — attacks, testing, and prevention.
Date Added Link Excerpt
2026-11-15 NEW 2026Kroki 0.36.0 reflected XSS in /dbml/svg newsAdvisory for GHSA-r7q7-fpwp-8f26 detailing a reflected XSS vulnerability in Kroki before version 0.36.0. The vulnerability resides in the `/dbml/svg` endpoint and can be triggered by unauthenticated attackers supplying crafted DBML table URL, headercolor, or TableGroup color settings. This allows for JavaScript injection via crafted SVG links, leading to execution within the Kroki origin when a table header is clicked. References include CVE-2026-129447 and a specific commit in the Kroki GitHub repository.
2026-11-15 NEW 2026PortSwigger Lab: Reflected XSS into HTML Context with Nothing Encoded intermediate BurpThis PortSwigger lab focuses on a reflected Cross-Site Scripting (XSS) vulnerability where no output encoding is applied. The challenge involves injecting malicious script into an HTML context. The difficulty level is marked as "Apprentice," indicating a relatively straightforward exercise for learning about reflected XSS.
2026-11-15 NEW 2026FooBox WordPress plugin stored XSS newsAdvisory for CVE-2026-120687 details a stored DOM-based Cross-Site Scripting vulnerability in the FooBox WordPress plugin up to version 2.8.7. This flaw stems from inadequate input sanitization and output escaping, allowing unauthenticated attackers, or authenticated users with lower privileges when bbPress is installed, to inject malicious scripts. Exploitation relies on specific bbPress versions and forum configurations, enabling encoded payloads to bypass sanitization within attribute values and execute on affected pages.
2026-11-15 NEW 2026Axeloz Filesharing 2.14.3 stored XSS newsWriteup of Axeloz Filesharing 2.14.3 stored XSS (GHSA-22mh-xrg3-844j, CVE-2026-129430). Authenticated users can inject script via HTML or `javascript:` Markdown links in bundle descriptions. This script executes via Alpine x-html on the public bundle preview, potentially stealing owner tokens and enabling unauthorized requests against victim bundles.
2026-11-15 NEW 2026@kolkov/angular-editor 3.0.4 XSS newsAdvisory on CVE-2025-71464 for @kolkov/angular-editor before 3.0.4 details a cross-site scripting vulnerability. The issue arises from unsanitized assignment of source view text to innerHTML within the toggleEditorMode() function. Attackers can exploit this by injecting HTML with event handlers, leading to script execution when users switch editor views.
2026-11-14 NEW 2026Laravel Security: Prevent Mass Assignment, CSRF, and XSS intermediate CSRFThis content highlights essential Laravel security practices. It explains how to prevent mass assignment vulnerabilities by using fillable allow-lists in Eloquent models. Additionally, it details the importance of implementing Cross-Site Request Forgery (CSRF) protection through CSRF tokens. The guide also emphasizes protecting against Cross-Site Scripting (XSS) attacks by ensuring proper output escaping within Blade templates. The core message is that these three defenses—mass assignment prevention, CSRF tokens, and XSS escaping—work in tandem to create a more secure Laravel application.
2026-11-14 NEW 2026Stored XSS in medical reports beginnerA stored Cross-Site Scripting (XSS) vulnerability was discovered in medical reports. This vulnerability arises from the common security pitfall of trusting user input. Attackers could potentially exploit this by injecting malicious scripts into medical reports, which would then be stored and executed when other users access these reports. The core issue lies in the improper handling and sanitization of data entered by users.
2026-11-14 NEW 2026I Almost Didn’t Report This XSS. The Maintainer Fixed More Than I Asked. intermediate Bug BountyThe author discovered a stored Cross-Site Scripting (XSS) vulnerability but almost didn't report it. After further investigation using grep, they found a way to exploit it. Upon reporting, the maintainer not only fixed the specific XSS issue but also addressed additional vulnerabilities, demonstrating a commitment to improving the project's security beyond the initially identified bug.
2026-11-14 NEW 2026EdgeEver stored XSS beginnerWriteup of EdgeEver stored XSS vulnerability (CVE-2026-129172) affecting versions 1.9.0 through 2.13.0. The vulnerability exists in the PUT /api/v1/restores/json/resources/:id endpoint when restoring an image resource with a text/html MIME type. This allows authenticated members to craft a malicious note shared publicly, which, when accessed by a victim, executes script to mint a non-expiring API token with read and write access to the victim's notes.
2026-11-14 NEW 2026HTB MakeSense: From a Leaked Voice Memo to Root via Stored XSS and OCR Abuse intermediateResearchers achieved root access on the "HTB MakeSense" machine by exploiting a chain of vulnerabilities. The attack began with directory listing, followed by audio transcription, and then leveraged a stored Cross-Site Scripting (XSS) vulnerability in WordPress. Finally, an OCR-based file write was used to escalate privileges to root.
2026-11-14 NEW 2026DjangoBlog stored XSS beginner PythonWriteup on GHSA-mr54-mm5f-7jw3, detailing a stored cross-site scripting vulnerability in DjangoBlog versions 2.0.0.0 through 2.1.0.0. The vulnerability stems from the class_filter comment sanitizer's failure to properly handle event-handler attributes on specific HTML tags like span, div, pre, and code. This allows authenticated commenters to inject malicious scripts, such as those using autofocus and onfocus attributes, which execute automatically for all visitors, including administrators, without user interaction.
2026-11-13 NEW 2026One Missing Anchor, One Flickr XSS intermediate Bug Bounty MobileA Cross-Site Scripting (XSS) vulnerability was discovered in Flickr's mobile application. The flaw stemmed from an unanchored regular expression combined with Cross-Origin Resource Sharing (CORS) misconfigurations. This allowed external HTML content to be executed within the application's origin. The vulnerability was addressed by parsing URLs and comparing their origins to prevent unauthorized execution. → masimshahzad.medium.com
2026-11-13 NEW 2026Rails Action View: possible XSS in strip_tags intermediate 1 min readAdvisory GHSA-rq8q-p985-fjq7 details a potential XSS vulnerability in Rails' `strip_tags` function within Action View. The issue arises because `strip_tags` fails to encode double quotes and single quotes, allowing untrusted input rendered inside quoted HTML attributes to close the attribute and inject malicious code. Applications using `strip_tags` output within attributes like `title` or `<meta content>` are affected. A workaround involves passing `strip_tags` output through tag helpers, which properly escape attribute values.
2026-11-13 NEW 2026Hono css helper does not escape a split closing tag (XSS) intermediate 1 min readLibrary for Hono CSS helper vulnerability GHSA-3gg2-335m-rxc6, which allows Cross-Site Scripting (XSS). The vulnerability occurs when interpolating untrusted strings into a CSS template immediately after a `<` character, enabling an attacker to inject HTML and execute scripts in the user's browser. This impacts applications that interpolate untrusted values into CSS templates where the text before an interpolation ends with `<`.
2026-11-13 NEW 2026Astro reflected XSS via unescaped slot names in @astrojs/solid-js intermediate 1 min readAdvisory for GHSA-jmv2-qgxf-f995 detailing a reflected cross-site scripting vulnerability in @astrojs/solid-js. The issue arises when unescaped slot names, derived from request-controlled input and passed dynamically to Solid components rendered with `client:*` directives, can inject arbitrary HTML. Affected versions are `>= 0.2.0, <= 7.1.1`, with a fix available in `7.1.2`. This is analogous to CVE-2026-50146 in astro core.
2026-11-13 NEW 2026Rails Action View: possible XSS in highlight helper intermediate 1 min readAdvisory for GHSA-v6rj-xm57-3p59 detailing a potential XSS vulnerability in Rails' Action View highlight helper. This issue arises when user-controlled text is substituted into a custom `:highlighter` string, particularly within quoted attribute values, allowing malicious input to terminate the attribute and inject arbitrary HTML. The vulnerability impacts applications that use a `:highlighter` placing placeholders inside attribute values with user-controlled highlight text. Fixed releases now HTML-escape substituted groups to prevent quote characters from being interpreted as code.
2026-11-12 NEW 2026The XG Files: Falcon C2 Flying Under The (Browser) Radar news 24 min read MobileLibrary for compromising browsers via malicious JavaScript. Falcon C2, also known as XG or Xiàng Gē, operates entirely within the browser, enabling attackers to sideload malicious Chrome extensions and steal passwords, emails, session cookies, and communications. It shares significant technical overlaps with the PeckBirdy framework, suggesting they are variants of the same core tool. Falcon uses AES-256-CBC encryption for C2 communication after an RSA key exchange and employs a multi-tier storage strategy to maintain persistent session IDs, mimicking Baidu Analytics tracking. → unit42.paloaltonetworks.com
2026-11-12 NEW 2026Blind trust: stealing credentials through CSP intermediate 4 min readTool for automating Content Security Policy (CSP) bypass analysis, this Burp AT skill identifies weaknesses in CSP headers to exfiltrate credentials. It checks for CSP bypass gadgets within allow-listed script sources, leveraging a dataset from cspbypass.com. Additionally, it detects vulnerabilities in the `form-action` directive that allow for credential theft through self-posting forms, even when JavaScript is blocked. The tool then constructs proof-of-concept exploits targeting these identified weaknesses, including the use of `strict-dynamic` and `unsafe-inline` caveats, and generates payloads for Burp Collaborator. → portswigger.net
2026-11-12 NEW 2026Stored XSS through the profile name intermediateA stored Cross-Site Scripting (XSS) vulnerability was discovered in the profile name field. This means that malicious scripts injected into a user's profile name are stored on the server and can be executed in the browsers of other users who view that profile. This could lead to various security issues, such as session hijacking, data theft, or defacement.
2026-11-12 NEW 2026I Found an XSS That Steals Private Chats Through a Single Emoji Link intermediate Bug BountyA researcher discovered a cross-site scripting (XSS) vulnerability that allows private chat messages to be stolen. The exploit is triggered by a single emoji link. This vulnerability could potentially expose sensitive conversations.
2026-11-12 NEW 2026WWBN AVideo 14.3 through 29.7.1 stored XSS (critical) intermediateAdvisory for GHSA-vvhx-2623-xf2x details a critical stored cross-site scripting vulnerability in WWBN AVideo versions 14.3 through 29.7.1. Attackers can inject scripts via the `videoDownloadedLink` parameter, exploiting unescaped values within `objects/aVideoEncoder.json.php`. This allows for the embedding of event-handler payloads in the video source tag, potentially leading to administrator sessions being compromised to install malicious PHP plugins.
2026-11-12 NEW 2026Hydro @hydrooj/ui-default before 4.59.1 stored XSS (critical) intermediateWriteup of GHSA-mfr7-qrjx-rpgx detailing a critical stored XSS in Hydro @hydrooj/ui-default before 4.59.1. Registered users can inject scripts via double quotes in language-class tokens within markdown-it-xss.ts, potentially leading to session hijacking by stealing non-httpOnly sid cookies when profiles are viewed by administrators or other users. This vulnerability is also known as CVE-2026-126800.
2026-11-12 NEW 2026BlueHat Asia 2026: Weaponizing client-side chains to shatter cloud identity and AI boundaries advanced AI AuthN TalksBlueHat Asia 2026 will feature research on exploiting client-side vulnerabilities to compromise cloud identity and AI systems. The presentation will delve into advanced techniques for weaponizing client-side chains, aiming to bypass existing security measures. This research highlights a critical attack vector for cloud environments, emphasizing the need for robust client-side security. The session promises to reveal novel methods for attackers to gain unauthorized access and manipulate cloud-based AI functionalities.
2026-11-11 NEW 2026From Contributor to Administrator: Stored XSS in The Events Calendar news AuthZA stored cross-site scripting (XSS) vulnerability (CVE-2026–123464) in The Events Calendar WordPress plugin allowed a contributor role to escalate privileges to administrator. The vulnerability was triggered by a specially crafted Legacy Widget block, which, when processed by the plugin, could lead to administrator account creation. This exploit was demonstrated in a WordPress test environment.
2026-11-11 NEW 2026Semantic MediaWiki before 7.4.1 stored XSS newsAdvisory for Semantic MediaWiki 2.5.0 before 7.4.1 detailing a stored cross-site scripting vulnerability. This flaw exists in ValueFormatter::getFormattedSubject() where unescaped markup renders property label segments. Attackers with page-edit rights can inject an `img onerror` payload within a preferred property label, executing code when users view Special:Browse or the smwbrowse API, impacting both regular users and administrators.
2026-11-11 NEW 2026Mbin 1.2.1 before 1.11.1 stored XSS in EmbedElement newsWriteup of a stored XSS vulnerability in Mbin 1.2.1 before 1.11.1, specifically within `EmbedElement::buildDestructed()`. This flaw allows authenticated users to inject HTML into nested Markdown image alt text within various content types, leading to script execution in end-user browsers due to insufficient HTML escaping. The vulnerability is referenced by GHSA-g3r9-j6w4-2257 and CVE-2026-126569.
2026-11-11 NEW 2026WriteFreely before 0.17.3 stored XSS newsWriteFreely before 0.17.3 is vulnerable to stored XSS, allowing authenticated authors to inject HTML through crafted post slugs via the CreatePost API. The vulnerability, identified as GHSA-43p2-x762-x6h7 and CVE-2026-126498, stems from the raw slug being concatenated into an anchor by augmentReadingDestination() for paid-shortcode posts, leading to script execution for RSS/Atom feed readers, newsletter recipients, and ActivityPub viewers.
2026-11-11 NEW 2026MQTTX desktop through 1.13.3 stored XSS newsWriteup of stored XSS in MQTTX desktop through 1.13.3, GHSA-55f4-qr9r-gp5r. This vulnerability allows script execution in the Electron renderer via unescaped topic names or payloads rendered in tooltips when hovering over Topic Tree or JSON tree nodes. Attackers controlling a broker or publishing to subscribed topics can exploit this for malicious scripting.
2026-11-10 NEW 2026Ampache before 8.4.0 stored XSS intermediateAdvisory detailing a stored cross-site scripting vulnerability in Ampache versions prior to 8.4.0, identified by CVE-2026-125395. This flaw arises from unescaped song lyrics within the ID3 tag, exploitable via LyricsView.php's getLyrics() and show_lyrics.inc.php functions to execute arbitrary JavaScript in users' browsers.
2026-11-10 NEW 2026Kubeflow Pipelines reflected XSS news 2 min readWriteup of CVE-2026-88986 affecting Kubeflow Pipelines frontend, exploiting reflected XSS through untrusted pod names and namespaces in error responses on the `/pipeline/k8s/pod` and `/pipeline/k8s/pod/events` routes. Attackers can craft links to trigger JavaScript execution in a victim's browser, potentially exposing information or performing actions within the application's origin, provided the victim meets authentication and access requirements. Remediation involves upgrading to KFP 2.15.0 or later, which validates resource names to prevent reflection.
2026-11-10 NEW 2026Reflected XSS into HTML Context with All Tags Blocked Except Custom Ones (PortSwigger Lab) intermediate BurpThis PortSwigger lab focuses on a reflected XSS vulnerability where most HTML tags are blocked, except for custom ones. The challenge involves exploiting this limitation to inject malicious code into an HTML context. Successful exploitation requires bypassing the restrictive tag filtering to achieve cross-site scripting.
2026-11-10 NEW 2026Webmin through 2.670 stored XSS newsWebmin versions up to 2.670 are vulnerable to a stored cross-site scripting (XSS) flaw. This vulnerability allows an attacker to inject malicious scripts into the system, which can then be executed by other users. The issue arises from how Webmin handles user-submitted data, enabling persistent script execution within the application. Exploiting this could lead to unauthorized actions, data theft, or session hijacking for other Webmin users.
2026-11-09 NEW 2026Bug bounty roundup: 15 disclosed HackerOne reports (incl. Basecamp CSP-bypassing XSS) news 7 min read Bug BountyRoundup of 15 disclosed HackerOne bug bounty reports, including a Basecamp CSP-bypassing XSS allowing unauthorized profile editing, six MariaDB connector vulnerabilities like CVE-2026-107819 enabling Man-in-the-Middle attacks, and WordPress vulnerabilities such as an open redirect due to a `str_replace()` mistake. It also details a Monero wallet RPC issue and a hidden command injection within an AI agent's consent prompt on strands-agents.
2026-11-09 NEW 2026TryHackMe Farewell: WAF rate-limit bypass to XSS cookie theft intermediate 4 min readLibrary detailing bypasses for ModSecurity's WAF, specifically addressing rate-limiting and XSS vulnerabilities. It outlines a method to circumvent rate-limiting by manipulating the `X-Forwarded-For` header during password brute-forcing, and then explains how to achieve stored XSS for cookie theft by using string concatenation and `eval()` to bypass keyword filters for `fetch` and `cookie`, ultimately targeting the `PHPSESSID` cookie.
2026-11-09 NEW 2026IBM QRadar stored XSS (high) newsIBM QRadar versions 7.5.0 through 7.5.0 Update Pack 16 Interim Fix suffer from a critical stored cross-site scripting (XSS) vulnerability. This flaw allows an unauthenticated attacker to execute arbitrary JavaScript code by manipulating specific fields within the QRadar application. The vulnerability, rated as high severity, could potentially lead to session hijacking and other malicious activities. Further details on specific affected components and attack vectors are available.
2026-11-09 NEW 2026XSS and WAF bypass: from Viewer to admin, a pentest case intermediate 6 min readWriteup of a penetration test detailing a four-step attack chain that escalated from a Viewer role to full admin privileges without authentication bypass or phishing. The exploit successfully navigated Cloudflare WAF bypass via HTML injection, overcame content filtering with a DOM-based XSS executed through a search function, stole an admin session cookie due to the missing HttpOnly flag, and finally leveraged an unprotected API endpoint to create a new superuser account. This case highlights how layered security controls can fail when they don't compensate for each other's weaknesses.
2026-11-08 2026OWASP Global AppSec USA 2026: XSS is the new RCE, how we broke Tauri's security model news RCE TalksThis session from OWASP Global AppSec USA 2026, titled "XSS is the new RCE, how we broke Tauri's security model," explores how Cross-Site Scripting (XSS) vulnerabilities can now be as dangerous as Remote Code Execution (RCE). The presenters will detail their methods for exploiting and compromising Tauri's security model, highlighting the evolving threat landscape. The focus is on demonstrating advanced XSS techniques that lead to significant system compromises.
2026-11-08 2026From Stored XSS to Forced Login via Cookie Tossing intermediate AuthN Bug BountySecurity researcher Vicodo details a bug bounty discovery involving a stored XSS vulnerability that could be exploited for forced login via cookie tossing. The researcher explains the process of finding and demonstrating this flaw, which allowed unauthorized access to user accounts. The content focuses on the technical aspects of the exploit.
2026-11-08 2026OpenAM stored XSS before 16.1.4 newsOpenAM versions prior to 16.1.4 are vulnerable to a stored cross-site scripting (XSS) flaw. This vulnerability allows attackers to inject malicious scripts into the system, which can then be executed by other users. The exact impact and potential for data compromise depend on the specific context of the injection.
2026-11-08 2026Download Manager stored XSS via unsanitized input newsAdvisory for GHSA-fwf8-w66j-76rr details a Stored Cross-Site Scripting vulnerability in WordPress Download Manager plugin versions up to 7.5.9. Unauthenticated attackers can inject arbitrary web scripts through unsanitized `wpdm_reg[first_name]`, `wpdm_reg[last_name]`, and `wpdm_reg[user_login]` parameters, requiring specific plugin and site configurations. This vulnerability, also referenced as CVE-2026-119156, relies on the "Anyone can register" setting and specific shortcode/template usage.
2026-11-08 2026SunEditor stored XSS in HTML mode before 3.4.0 newsVulnerability writeup detailing a stored cross-site scripting flaw (CVE-2026-124422, GHSA-fvm2-c629-pcjf) in SunEditor versions 3.0.0 to 3.3.3. This vulnerability arises from improper filtering of `srcdoc` or uppercase `SRC` keys within the `html.clean()` function when rebuilding iframes from JSON data. Attackers can exploit this by injecting malicious HTML via paste, `html.set`, or `html.insert` operations, leading to script execution in the victim's browser context upon content loading.
2026-11-08 2026OpenAM open redirect and XSS before 16.1.4 news AuthNAn open redirect and cross-site scripting (XSS) vulnerability exists in OpenAM versions prior to 16.1.4. This means that an attacker could potentially redirect users to malicious websites or inject harmful scripts into the application. This issue was identified and patched in version 16.1.4.
2026-11-07 2026The Renderer That Trusted Its Own Output: Stored XSS Through a Markdown Sanitization Gap intermediate Bug BountyThis article details a Stored XSS vulnerability found in a Markdown-to-HTML renderer. The flaw occurred because the renderer improperly sanitized user-supplied Markdown input, trusting its own output. This allowed attackers to inject malicious JavaScript code, which was then executed in the browsers of other users viewing the rendered content. The vulnerability highlights the complexities of sanitizing Markdown and the importance of robust input validation to prevent cross-site scripting attacks.
2026-11-07 2026Stored XSS via SVG file upload lab (based on real report) intermediate 1 min read Bug BountyLab reconstructing a real-world Stored XSS vulnerability via SVG file upload. This bug, which paid $750 on HackerOne, involves uploading SVGs that are rendered using `<object>` tags, allowing for embedded JavaScript execution. The lab provides a reproducible environment to practice this technique, learn the exact attack chain, and explore remediation strategies such as sanitizing SVGs or implementing Content Security Policy.
2026-11-07 2026Cross-account XSS on app.basecamp.com: oEmbed option injection chained through Turbo defeats the CSP nonce intermediate Bug BountyA high-severity Cross-Site Scripting (XSS) vulnerability was discovered on app.basecamp.com. The vulnerability, classified as Generic XSS, stems from an oEmbed option injection flaw. This flaw could be chained with Turbo to bypass the Content Security Policy (CSP) nonce, enabling attackers to execute arbitrary code within the application. → hackerone.com
2026-11-06 2026Análisis avanzado de JavaScript para Bug Bounty (BountyMagicCon) advanced Bug Bounty TalksThis BountyMagicCon talk by Francisco Neves (@fneves97), creator of JXScout, focuses on advanced JavaScript analysis techniques for bug bounty hunting. The presentation delves into the "magic behind the bounties," offering a deep dive into how to effectively analyze JavaScript code to discover vulnerabilities.
2026-11-06 2026Let the page do it: reflected DOM XSS via double parsing intermediate 7 min readWriteup of Intigriti's BRP challenge detailing reflected DOM XSS via double parsing. The challenge involves exploiting a server-side HTML sanitization bypass where input is parsed twice, allowing for mutations. It explains common pitfalls like CSP restrictions and inert scripts, and how to craft a payload that triggers a script load via specially crafted `innerHTML` assignments that the page's own JavaScript then processes. The solution requires manipulating the `person` parameter to include specific HTML elements and text that align with server-side validation for the `/echo.php` endpoint.
2026-11-06 2026Intigriti Pray For Nepal XSS challenge writeup intermediate 4 min read Bug BountyWriteup of the Intigriti Pray For Nepal XSS challenge detailing a DOM clobbering technique where a server-side containment check, requiring `record-anchor` to be a descendant of `archive-latch`, was missed by client-side `getElementById`. The payload utilized HTML injection to manipulate the DOM, leading to the execution of `/echo.php` and ultimately retrieving the flag by bypassing CSP and a server-side structural validation.
2026-11-06 2026GitLab stored XSS in markdown via DesignReferenceFilter ($16k) intermediate Bug BountyA Stored Cross-Site Scripting (XSS) vulnerability was discovered in GitLab's markdown rendering via the DesignReferenceFilter. This flaw allows attackers to execute arbitrary JavaScript code on affected users' browsers. GitLab awarded a **$16,000** bounty for the responsible disclosure of this critical security issue.
2026-11-06 2026PayPal stored XSS via cache poisoning ($18.9k) intermediate Bug BountyPayPal experienced a Stored XSS vulnerability through cache poisoning, a serious issue impacting sensitive pages like the sign-in page. This bug class is concerning due to its potential to compromise page integrity. The bounty awarded for this discovery was $18.9k.

Frequently Asked Questions

What are the three types of XSS?
The three main types are Reflected XSS (payload delivered via a URL and immediately reflected in the response), Stored XSS (payload persisted in the application database and served to other users), and DOM-based XSS (payload executed entirely in the browser via client-side JavaScript without a server round-trip).
How do you prevent cross-site scripting?
Key defenses include output encoding (HTML, JavaScript, URL, and CSS contexts), Content Security Policy (CSP) headers, using frameworks that auto-escape by default (React, Angular), input validation, and the HttpOnly flag on session cookies to limit the impact of successful attacks.
Why is XSS still so common?
XSS persists because web applications have many injection points (URL parameters, form fields, headers, file uploads), developers must encode output correctly for every context, and modern JavaScript frameworks can be bypassed through dangerouslySetInnerHTML, template injection, or prototype pollution.

Weekly AppSec Digest

Get new resources delivered every Monday.