mirror of
https://github.com/BookStackApp/BookStack.git
synced 2026-10-12 10:09:58 +00:00
- Updates ZIP imports to validate that actual mime type of book cover images to ensure they are a supported image file. - Updates lower level ImageStorage to validate extensions of images when cleaning their name pre-storage. - Updates ZIP import Image and Book handling so book cover and image files have their extension forced from file mime types in the same way. Added testing to cover. Thanks to the submersion.ai security research team for reporting.