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.
Published: 2026-11-02
Score: 5.1 Medium
EPSS: n/a
KEV: No
Impact: Stored Cross‑Site Scripting leading to session hijacking
Action: Immediate Patch
AI Analysis

Impact

A stored cross‑site scripting flaw exists in PandaWiki when administrators upload an HTML file that is named with an image extension. The upload endpoint accepts the file and a subsequent request to /static‑file/<key>?a=.pdf serves the file inline by bypassing nginx’s attachment header. The rendered HTML steals the panda_wiki_token JWT, allowing an attacker to take over the administrator session without requiring the user’s credentials. This flaw is classified as CWE‑79 and results in a moderate risk of unauthorized access and potential data compromise.

Affected Systems

Chaitin’s PandaWiki versions 3.65.0 through 3.87.5 are affected. The issue is present in all releases within this range, regardless of deployment environment, as the vulnerable upload and static‑file handlers are included in the core distribution.

Risk and Exploitability

The CVSS score of 5.1 indicates a moderate severity. No EPSS score is available and the vulnerability is not listed in the CISA KEV catalog, suggesting lower current exploitation prevalence. Nevertheless, exploitation is straightforward: an unauthenticated attacker can upload the crafted file, then disclose a download link to an administrator. If the admin follows the link, the session token is captured. The attack requires only the ability to reach the upload endpoint and to entice the target to click the download link, both of which are commonly feasible in many environments.

Generated by OpenCVE AI on November 2, 2026 at 15:28 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade PandaWiki to a version later than 3.87.5 that removes the upload vulnerability or applies the provided patch to reject HTML files with image extensions and enforce strict content‑type validation.
  • Reconfigure nginx or the web server so that the /static‑file/* endpoint sets a Content‑Disposition: attachment header for all files and does not allow inline rendering of potentially malicious content.
  • Limit access to the /static‑file/* endpoint to authenticated users only, or add an additional token check so that only legitimate download requests can reach the handler.

Generated by OpenCVE AI on November 2, 2026 at 15:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 02 Nov 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 02 Nov 2026 14:30:00 +0000

Type Values Removed Values Added
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.
Title PandaWiki 3.65.0 through 3.87.5 Stored XSS via /static-file/ PDF Query-String Bypass
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-02T17:34:57.661Z

Reserved: 2026-11-02T12:42:11.162Z

Link: CVE-2026-120428

cve-icon Vulnrichment

Updated: 2026-11-02T17:15:24.396Z

cve-icon NVD

Status : Deferred

Published: 2026-11-02T15:17:24.010

Modified: 2026-11-02T19:35:33.347

Link: CVE-2026-120428

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-02T15:30:14Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')