| Package | Affected versions | Patched versions |
|---|---|---|
| snipe/snipe-it | < 8.6.2 | 8.6.2 |
| snipe-it | < 8.6.2 | 8.6.2 |
CommonMark is configured with html_input => 'escape', which blocks raw HTML injection. However, javascript: URIs in Markdown hyperlinks are not sanitized. A user with assets.edit permission can inject a malicious link into any markdown-textarea custom field. Any user who opens the asset detail page and clicks the link executes arbitrary JavaScript in their browser session.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free