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/Matrix009917 Dec 13 '24
And we have already made it clear that this alone is not enough :)