Multiple cross-site scripting (XSS) vulnerabilities in Cacti before 0.8.7g, as used in Red Hat High Performance Computing (HPC) Solution and other products, allow remote attackers to inject arbitrary web script or HTML via (1) the name element in an XML template to templatesimport.php; and allow remote authenticated administrators to inject arbitrary web script or HTML via vectors related to (2) cdef.php, (3) datainput.php, (4) dataqueries.php, (5) datasources.php, (6) datatemplates.php, (7) gprintpresets.php, (8) graph.php, (9) graphsnew.php, (10) graphs.php, (11) graphtemplatesinputs.php, (12) graphtemplatesitems.php, (13) graphtemplates.php, (14) graphview.php, (15) host.php, (16) hosttemplates.php, (17) lib/functions.php, (18) lib/htmlform.php, (19) lib/htmlformtemplate.php, (20) lib/html.php, (21) lib/htmltree.php, (22) lib/rrd.php, (23) rra.php, (24) tree.php, and (25) user_admin.php.