EntornosRankingComunidadWriteupsPreciosGorka
Entrar
  1. Home
  2. Environments
  3. 12 DOM XSS Parameters for Automated Scanning

12 DOM XSS Parameters for Automated Scanning

EasyOriginalNo flag

Red social con 12 parametros diferentes inyectables en el DOM via distintos sinks (innerHTML, document.write, eval, outerHTML, setTimeout, location.replace). Ideal para practicar con herramientas automatizadas como dalfox. No flag: you mark it as completed when you're done.

XSS
Log in to startSee the environment

1,982 views · 107 completed · updated Nov 2026

Access

Learn to find this bug

An environment built to train this technique, step by step.

Create your account and practise with real hacks. Download the environment, find the bug and learn the exact technique.

hunters training

hacking environments

environments solved

paid out for these bugs

Create account
I already have an account

Access to all environments · cancel the renewal anytime and keep what you paid for

Information

Difficulty
Easy
Duration
10 min
Bounty
Not applicable
Completed
107
Creator
@gorka
Updated
Nov 2026

The environment

ZIP with the environment and its autodeploy

You download it from here. Inside there's the environment and two scripts that start it for you, one per system.

autodeploy.shautodeploy.ps1
Create an account to download it

Only requirement: Docker

Nothing else. The autodeploy builds and starts the environment for you.

Autodeploy · one command

Linux and macOS

$./autodeploy.sh

Windows

PS>.\autodeploy.ps1

From inside the folder the ZIP creates. It prints the URL and credentials.

Objectives · the path, not the solution

  1. 01Descubrir los 12 parametros inyectables
  2. 02Identificar el sink de cada uno
  3. 03Ejecutar XSS en cada parametro
  4. 04Probar con herramientas automatizadas (dalfox)

Prerequisites

  • DOM XSS avanzado
  • Diferentes sinks (innerHTML, eval, document.write)
  • Herramientas de scanning

Tools

  • Dalfox
  • Navegador

Latest to solve it

  • @john3 days ago
  • @rmvs4565 days ago
  • @rogerioopaiva365 days ago
  • @archerstone5112 days ago
  • CO@condorhacks16 days ago
  • @pepelut9518 days ago
  • IR@irenerueda2007919 days ago
  • @alexlom321Oct 2026

The badge

Achievement you'll earn

Solve this environment to unlock this shareable achievement

Solve this environment to unlock this shareable achievement

Community writeups

Free · no account

The checklist I run on every new target

47 checks ordered by cost: first what can get you in trouble, then the cheap stuff, and finally the expensive stuff — which is where the big bounties are. I'll send it to your inbox right now.

Unsubscribe in one click, from any email.

Credenciales

Usuario Contrasena Rol
alice password123 user

Despliegue

# Opcion 1: autodeploy
./autodeploy.sh

# Opcion 2: manual
docker compose up --build

# Acceder
http://localhost:1000

Compatible con macOS, Linux y Windows (Docker Desktop / WSL).

Para parar:

./autodeploy.sh destroy
# o: docker compose down -v

Contenido del Lab

La aplicacion

Chirp con 12 parametros inyectables en diferentes sinks DOM.

La vulnerabilidad

12 parametros: q, ref, msg, tab, next, user, #fragment, debug, sort, lang, redirect, title. Cada uno se inyecta en un sink diferente: innerHTML, document.write, eval, outerHTML, setTimeout, location.replace, document.title.

Cadena de ataque

1. Probar ?q=<script>alert(1)</script>
2. Probar ?ref=javascript:alert(1)
3. etc. para cada parametro
4. O ejecutar: dalfox url http://localhost:1000/dashboard

Solucion interactiva

Accede a /writeup dentro de la aplicacion para una guia paso a paso con botones interactivos.


Flag

(alert/XSS ejecutado en cada parametro)

Remediacion

  1. Sanitizar todo input antes de insertarlo en el DOM
  2. Usar textContent en vez de innerHTML
  3. Nunca pasar input de usuario a eval/setTimeout
  4. CSP estricto

The community

This isn't a platform with users.It's people breaking the same things you are.

Inside people ask, share what they found and solve together what would block anyone on their own. It's free to join: no account, no plan, no email required.

Join the Discord

Free and open. You don't need a BBLABS account to join.

Aprende hacking con entornos que replican hackeos reales.

Producto

  • Entornos
  • Hacker Roadmap
  • Arena · ranking
  • Precios
  • Empresas

Aprender

  • Aprender desde 0
  • Academy
  • Blog
  • Writeups
  • Crew · Discord

Más

  • Gorka
  • Términos
  • Privacidad
  • Cookies
  • team@bblabs.es
© 2026 BBLABS · Hecho en Españalabs.bblabs.escrew.bblabs.esacademy.bblabs.esarena.bblabs.esblog.bblabs.esbugbounty.bblabs.esteams.bblabs.es