security: wiki should only allow markdown files #217
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Wiki pages should only accept .md (Markdown) files. Currently there may not be sufficient validation preventing other file types from being stored in the wiki git repository.
Risk
If non-markdown files (HTML, JS, etc.) can be committed to the wiki repo, they could be rendered unsafely or used for XSS.
Requirements
Authored-by: Claude Opus 4.6 (1M context) noreply@anthropic.com
Deployed in v1.26.1-moko.05.05.00.
Authored-by: Claude Opus 4.6 (1M context) noreply@anthropic.com