Stored XSS in SharePoint via ASPX Upload: When a File Library Becomes an Execution Sink
A low-privilege user could upload an .aspx file to a SharePoint document library and have it render inline as text/html. One missing Content-Disposition header turned a file upload into stored XSS running in the SharePoint origin.