r/PHPhelp • u/NunyasBeesWax • Dec 13 '24
XSS scripting
Newb question. Trying the Hackazon app for XSS mitigation. Hitting my head against the wall for hours. Error on signin.php line:
Echo 'var amfphpEntryPointUrl = "' . $config->resolveAmfphpEntryPointUrl() . "";\n";
showing XSS with "Userinput reaches sensitive sink when function () is called."
Think I know conceptually to sanitize the data but having trouble finding the right answer. Htmlspecialchars?
TY in advance.
1
Upvotes
View all comments
Show parent comment
1
u/colshrapnel Dec 13 '24
"Not enough" implies it's still used, along something else. The point is, it's completely off the track in the present case, being totally alien, useless, and even harmful.