Description
PandaWiki 3.65.0 through 3.87.5 contains a stored cross-site scripting vulnerability that allows unauthenticated attackers to upload HTML files with image extensions via /share/v1/common/file/upload. Attackers can lure administrators to /static-file/<key>?a=.pdf, bypassing the nginx attachment header to serve HTML inline and steal the panda_wiki_token JWT for session takeover.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Chaitin | PandaWiki | 3.65.0 – ≤ 3.87.5 | — |
References
- https://github.com/chaitin/PandaWiki/issues/1845 issue-tracking
- https://vul.yulun.ac.cn/20261101/pandawiki/ exploit
- https://github.com/chaitin/PandaWiki/blob/v3.87.5/web/admin/server.conf technical-description
- https://github.com/chaitin/PandaWiki/blob/v3.87.5/backend/usecase/file.go technical-description
- https://github.com/chaitin/PandaWiki/blob/v3.87.5/backend/handler/share/common.go technical-description
- VulnCheck Advisory: PandaWiki 3.65.0 through 3.87.5 Stored XSS via /static-file/ PDF Query-String Bypass third-party-advisory