kiwix / kiwix-js

Fully portable & lightweight ZIM reader in Javascript
https://www.kiwix.org/
GNU General Public License v3.0
302 stars 126 forks source link

Check if there is a patch for libwebp vulnerability #1124

Open Jaifroid opened 1 year ago

Jaifroid commented 1 year ago

According to https://www.theregister.com/2023/09/12/chrome_browser_webp_exploit/, there is an exploit with the libwebp library, which is included (as an Emscripten ASM) in the WebPHero polyfill for WebP images. While it is unlikely that a scraped website will have a WebP with this vulnerability, and even more unlikely that it could access system resources via ASM or WASM, we should check the status of the polyfill.

Jaifroid commented 1 year ago

I opened https://github.com/chase-moskal/webp-hero/issues/52.