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

236
Views
Fortify Cross Site Scripting: Poor Validation, Shared Link errors

I was executing my code in HPE Fortify, and I keep getting XSS errors when I use java code inside scriptlets in a java script. So I have used jstl tags c:out to resolve the problem. However it is still throwing medium level errors for XSS poor validation in all the places wherever I have used c:out After some research on OWASP, in place of c:out I have started using var url1 = "<%= Encode.forJavaScript(URLString) %>"; and imported <%@page import="org.owasp.encoder.Encode"%> Even with this I am getting XSS shared link error. I am not sure what else to do.

var url1 = "<c:out value="${URLString}"></c:out>" var url1 = "<%= Encode.forJavaScript(URLString) %>"; both are throwing same XSS message. Any ideas ??

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!