Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

110
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!