Chromium Code Reviews
        
  DescriptionFix XSS in app launcher and remove use of unvalidated URL
The third parameter of "launchApp" is only used for the webstore app,
and used to append utm_source=chrome-ntp-icon to the app URL.
But the launchApp handler did not validate that the URL is safe.
To fix that issue, I specialize the parameter for launchApp: It now takes the
source string ("chrome-ntp-icon") instead of a URL without validation.
BUG=668665
TEST=Manually using test case from bug report. Also opened the app launcher and
verified that clicking on the Webstore icon still leads to the same place.
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Committed: https://crrev.com/15120efa4b9394086d687086e443f47290b5170a
Cr-Commit-Position: refs/heads/master@{#434939}
   
  Patch Set 1 #
 Messages
    Total messages: 14 (9 generated)
     
  
  
       | 
    ||||||||||||||||||||||||||||