ealeksandrov / ProvisionQL

Quick Look plugin for mobile apps and provisioning profiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vulnerable to XSS

ngyikp opened this issue · comments

Inspired by https://twitter.com/_r3ggi/status/1265629984753844225

I did a quick check with <img src=1 onerror=document.documentElement.textContent=window.location>.ipa and looks like the XSS works:

image

Looks like it's already resolved by Apple? I'm on macOS 10.15.6.

I managed to find machine with macOS 10.15.4, reproduce and fix this issue 🙂
Fix applied in f8c75d8 - add XML escaping for file name.
Released as 1.6.2.

macOS 10.15.4, ProvisionQL 1.6.1:
before

macOS 10.15.4, ProvisionQL 1.6.2:
after