Cacti before 1.1.37 has XSS because the get_current_page function in lib/functions.php relies on $_SERVER['PHP_SELF'] instead of $_SERVER['SCRIPT_NAME'] to determine a page name.Referenceshttps://github.com/Cacti/cacti/issues/1457https://www.cacti.net/changelog.phphttp://www.securitytracker.com/id/1040620