BBLABSBBLABS
LaboratoriosAprender desde 0FuncionesPreciosTestimoniosDetrás de BBLABS
  1. Home
  2. Labs
  3. 12 DOM XSS Parameters for Automated Scanning
Easy10 min

12 DOM XSS Parameters for Automated Scanning

By @gorka

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.

This hack was reported with no reward

1.7K views100 completedUpdated Nov 2026
Log in to start

Learn to find this bug

A real hack, reproduced for you to practice.

Create your account and practice real bugs that got paid. Download the environment, find it and learn the exact technique — your path to your first bounty.

650

hunters training

50

labs from real hacks

380

completions

$12,000

paid out for these bugs

40 flags captured this week
Create account
I already have an account

Access to all labs · no commitment · cancel anytime

Hackers who solved it· 8

alexlom3211
@alexlom3215 days ago
0xn1sec2
@0xn1sec9 days ago
joaquinlemonge3
@joaquinlemonge12 days ago
jimmybuscandoempleo
@jimmybuscandoempleo15 days ago
m27580928
@m2758092816 days ago
melvin
@melvin18 days ago
JM
@overtone19 days ago
leonardojp222012
@leonardojp22201221 days ago

Objectives

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

Information

Difficulty
Easy
Duration
10 min
Bounty
Sin recompensa
Completed
100
Creator
gorka@gorka
Updated
Nov 2026

Download the environment

Reproduce it and find the bug yourself

Create account

Tools

DalfoxNavegador

Prerequisites

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

Tags

XSS

Achievement you'll earn

Solve this lab to unlock this shareable achievement

Solve this lab 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 BBLABS community on Discord
Join the Discord

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

BBLABS LogoBBLABS

Laboratorios de hacking basados en hackeos reales. Aprende practicando sobre entornos vulnerables, con la resolución explicada paso a paso.

Producto

  • Funcionalidades
  • Precios
  • Labs
  • Aprender desde 0
  • Blog
  • Detrás de BBLABS

Legal

  • Términos
  • Privacidad
  • Cookies
  • Entrar
  • Crear cuenta

Para cualquier duda, bug, soporte o sugerencia puedes escribir a team@bblabs.es

© 2026 BBLABS. Todos los derechos reservados.