Coppermine Photo Gallery (CPG) 1.4.8 stable, with registerglobals enabled, allows remote attackers to bypass XSS protection and set arbitrary variables via a query string that causes the variable to be defined in global space, with separate GET, REQUEST, or other critical parameters, which are unset by the protection scheme and prevent the original variable from being detected.