(CE-1183) Escape caption in mini uploader

Escape caption in mini uploader as it can cause an XSS vector.
Merge branch 'CE-1183' into dev