upvote
WebUSB lets web apps talk to USB devices that are attached to the host running the browser. It doesn't have the browser present an emulated USB device to the kernel (at least not to my knowledge).
reply
Nothing stopping webUSB flashing the firmware of a device to run this exploit though presumably.
reply
If you give the site access to your device, sure. But ultimately so could any other firmware updater.
reply
Which is part of why Mozilla has been so bearish on WebUSB/MIDI/etc.

Performing software updates of essentially soft USB devices in a microcontroller is pretty much the primary use case of WebUSB currently.

reply
not really, WebUSB is on the other side of (it allows you to interact with USB devices, it can not emulate a malicious device)

you would need to use WebUSB to hack a usb device connected to the computer, overwrite it's firmware and then make it restart so that it can "hack back" into the computer

which to be fair isn't impossible, but seems unlikely to be an relevant attack vector

reply
Oh but surely next thing WebUSB people will demand would be usb host browser-side.
reply