XSS in AJAX blueprint title updating

Bug #741667 reported by William Grant
256
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Critical
Unassigned

Bug Description

specification-index.pt does this:

        Y.on('lp:context:title:changed', function(e) {
            // change the window title and breadcrumb.
            Y.lp.ui.update_field('ol.breadcrumbs li:last-child', e.new_value);

update_field sets innerHTML without any escaping. So I can change the title to something malicious while you have the page open, and your next AJAX change will XSS you.

This is possibly a duplicate of bug #740096.

William Grant (wgrant)
Changed in launchpad:
status: Triaged → Fix Released
milestone: none → 11.04
William Grant (wgrant)
visibility: private → public
To post a comment you must log in.
This report contains Public Security information  
Everyone can see this security related information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.