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.
https://vul.yulun.ac.cn/20261101/pandawiki/
https://github.com/chaitin/PandaWiki/issues/1845
https://github.com/chaitin/PandaWiki/blob/v3.87.5/web/admin/server.conf
https://github.com/chaitin/PandaWiki/blob/v3.87.5/backend/usecase/file.go
https://github.com/chaitin/PandaWiki/blob/v3.87.5/backend/handler/share/common.go
Published: 2026-11-02
Updated: 2026-11-02
Base Score: 6.4
Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N
Severity: Medium
Base Score: 6.1
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Severity: Medium
Base Score: 5.1
Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Severity: Medium
EPSS: 0.00359