Cross-site Scripting (XSS) - Generic in snipe/snipe-it

Valid

Reported on

Nov 5th 2021


Description

XSS in bulk audit function via the asset tag parameter

Proof of Concept

1: Go to http://<SNIPE_IT_APP>/hardware/bulkaudit feature
2: Use <script>alert(document.domain)</script> as "Asset Tag" parameter
3: Click "Audit", the XSS should be triggered via the message Asset Tag [ASSET_TAG] not found.

Impact

This vulnerability is capable of tricking users without knowledge of XSS to key in the malicious payload and thus steal the cookie or perform actions on behalf of them via Javascript execution. Due to CSRF protections, I am unable to escalate this further but thought I should report to you just in case you care about it.

We are processing your report and will contact the snipe/snipe-it team within 24 hours. a month ago
haxatron modified their report
a month ago
We have contacted a member of the snipe/snipe-it team and are waiting to hear back a month ago
snipe validated this vulnerability a month ago
haxatron has been awarded the disclosure bounty
The fix bounty is now up for grabs
snipe confirmed that a fix has been merged on 9ed144 25 days ago
snipe has been awarded the fix bounty