Official nomination
A Security Review of SharePoint Site Pages
SharePoint parses customised site pages with CompilationMode.Never so inline code never runs, but where an administrator allows compilation with server-side script still disabled, the namespace value of an import or register directive is copied verbatim into the generated C# and can be closed and reopened to define a class. That yields code execution on the server.
Preserved copies · Soroush Dalili · Original publication ↗
Record
- Researcher
- Soroush Dalili
- Published by
- MDSec
- Date
- Topic
- Other
In the archive
- Nominated for the 2020 Top 10 Web Hacking Techniques · Open this archive record
Announcement provenance and preserved copies
PortSwigger Research · Source identity checked 2026-11-18; live availability may change. Historical material does not establish that nominations or voting are open.
Official results · Preserved results (PDF)
Official nomination material
Tags
This page is the archive's own catalogue record. The research is the work of Soroush Dalili, first published at the original source. Preserved copies are kept so the citation survives its host.