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

163
Views
exploit the JSONP get parameter

I have a URL that returns a JSON with a GET parameter "cb"

https://jsonp.c00kie.ninja/public/jsonp.php?cb

The Get parameter cb takes a value as the name of the function so its like a JSONP.

This URL is sanitized but the parameter can be exploited by passing "alert" function as a parameter

example.

https://jsonp.c00kie.ninja/public/jsonp.php?cb=alert

this URL will return a JSON wrapped by alert. Is there a way to be able to execute a custom defined function.

What I have noticed that it removes brackets and the eval method which is the sensitization process.

about 4 years ago · Juan Pablo Isaza
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!