Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

111
Vistas
I'd like to pass a Stylesheet to each page of the current session using XSS

I'm a student in college. We have a learning platform with a UI which gives you Windows Vista vibes. I've found a way to inject Javascript in the homepage, but it's not possible on the other pages. I'm able to add a stylesheet, and effectively changing the look of my homepage, but would love to be able to do so too in the rest of the site. I've found ways to store values in your browser, using a LocalStorage obj or document.cookie, but this doesn't give me the ability to add js itself, which autoruns on load of the page. Is there any way to do this? Thanks for helping out :))

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Great find!

It may be possible to turn the website into a SPA (Single Page Application) by intercepting the clicks on links (<a> elements with href attributes), using history.pushState to change the url without reloading and then loading the site manually using fetch/xhr and then insert the resulting body into the current page, however my personal recommendation would be to use a userstyle browser extension and report the (self-)xss issue instead ;)

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda