XSS warning for document repository