EntornosRankingComunidadWriteupsPreciosGorka
Entrar
  1. Home
  2. Environments
  3. Reflected XSS on 404 Error Page

Reflected XSS on 404 Error Page

EasyOriginalNo flag

Red social donde la pagina de error 404 refleja el parametro message en el HTML sin sanitizar, permitiendo XSS reflejado. No flag: you mark it as completed when you're done.

XSS
Log in to startSee the environment

2,017 views · 136 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
136
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. 01Encontrar la pagina 404
  2. 02Descubrir el parametro ?message=
  3. 03Inyectar HTML/JavaScript via el parametro
  4. 04Ejecutar alert(1)

Prerequisites

  • XSS basico (reflejado)

Tools

  • Navegador

Latest to solve it

  • @john4 days ago
  • @rmvs4565 days ago
  • @edmarketingtdc5 days ago
  • @rogerioopaiva366 days ago
  • @archerstone5112 days ago
  • CO@condorhacks16 days ago
  • @pepelut9518 days ago
  • IR@irenerueda2007919 days ago

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 pagina de error 404 que refleja un parametro de la URL.

La vulnerabilidad

La pagina 404 muestra ?message= directamente en el HTML sin escapar, permitiendo inyeccion de HTML y JavaScript.

Cadena de ataque

1. Visitar /404
2. Anadir ?message=<img src=x onerror=alert('XSS')>
3. XSS ejecutado

Solucion interactiva

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


Flag

(alert ejecutado)

Remediacion

  1. Escapar HTML en todos los outputs
  2. Usar textContent en vez de innerHTML
  3. CSP con nonces

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