> For clean Markdown of this page, append .md to its URL. For the complete documentation index, see https://www.superagent.sh/llms.txt.


Check whether a web application's file processors keep untrusted uploads and imports within their intended scope.

# File upload and import safety


[← Back to attack scenarios](https://www.superagent.sh/docs/products/red-teaming/attack-scenarios)

A file can pass through several components between upload and use. This scenario checks whether processing untrusted files can cause effects beyond what the application intended.

Use it for applications that accept uploads or import documents or other data. A finding points to the processing stage involved and the effect that the application failed to contain.

The app lists this scenario as **Compromise file processing through uploads or imports** (`APP-14`) in [Application Red Teaming](https://www.superagent.sh/docs/products/red-teaming/applications).

## Standards and guidance

[CWE-434 Unrestricted Upload of File with Dangerous Type](https://cwe.mitre.org/data/definitions/434.html)

---
Source: https://www.superagent.sh/docs/products/red-teaming/attack-scenarios/application-upload-import-safety
Index: https://www.superagent.sh/llms.txt
