Skip to content
XSS Disclosed report

XSS/HTML injection in TV Smart System app's modal_dialog.js

Frederik Braun Follow

Originally disclosed on Mozilla

  • Fixed in 4 days
  • Paid in 7 days
  • Disclosed after 4 days
Text
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?

The original report as published on Mozilla's Bugzilla, by Frederik Braun. Images and videos are our own copies; raw HTML is shown as text. View it on Mozilla's Bugzilla.

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.

More by Frederik Braun

View all

4 more disclosed reports, best first.

More from Mozilla

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.