Description (CNA)
Koillection through 1.8.4 contains a stored cross-site scripting vulnerability that allows authenticated users to upload HTML files as Datum file attachments lacking MIME restrictions. Attackers can upload HTML payloads via POST /api/data/{id}/file, served as text/html from public/uploads, executing JavaScript in victims' sessions to perform actions on their behalf.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| benjaminjonard / Koillection | affected 0 through 1.8.4 |
CWE
CWE-79
References
- https://github.com/benjaminjonard/koillection/issues/1609
- https://github.com/benjaminjonard/koillection/blob/1.8.4/src/Service/ImageHandler.php#L43-L50
- https://github.com/benjaminjonard/koillection/blob/1.8.4/src/Entity/Datum.php#L141-L145
- https://github.com/benjaminjonard/koillection/releases/tag/1.8.4
- https://www.vulncheck.com/advisories/koillection-through-1.8.4-stored-xss-via-datum-file-attachment-uploads
ADP enrichment
No English description supplied.