XSS/HTML injection in TV Smart System app's modal_dialog.js
Originally disclosed on Mozilla
- Fixed in 4 days
- Paid in 7 days
- Disclosed after 4 days
As suggested in bug 1157216 comment 11 by Muneaki Nishimura:
> Is "tv_apps" an active project (and in scope of your bounty program)?
>
> I'm not sure it is really exploitable since I don't have execution environment > of tv_apps but following code may have same defect.
> https://github.com/mozilla-b2g/gaia/blob/master/tv_apps/smart-system/js/modal_dialog.js#L379
The patch should escape quotes around the data items in lines 373 and 375:
> itemsHTML.push(data.options[i].id);
> …
> itemsHTML.push(data.options[i].text);
John, can you take this?
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is known
A high-severity XSS bug in Gaia::TV::System. Mozilla made it public on 1 May 2015.
About XSS
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.