Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

113
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda