AploSec / Disclosures / CVE-2026-120500
An Otter Wiki before 2.26.2 Stored XSS via Math Code Block
CVE-2026-120500 · published 2026-11-02
In plain words: this type of bug lets someone run scripts in another person's browser (cross-site scripting, XSS). A fixed release is listed.
Summary
CVE-2026-120500 affects otterwiki (PyPI) >= 2.0.0, < 2.26.2: Stored XSS via math code block (CWE-79). Fixed in 2.26.2. CVSS 4.0 base score 5.3 (Medium), assigned by VulnCheck. Published 2026-11-02 by VulnCheck. Credit: Zachariah Mithani.
An Otter Wiki before 2.26.2 contains a stored cross-site scripting vulnerability in OtterwikiMdRenderer.block_code. An attacker who can edit pages, including anonymous users under the default configuration, can place HTML inside a math fenced code block, which is rendered unescaped and executes in the browser of every viewer of the page.
Evidence
Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.
Remediation
Upgrade otterwiki to 2.26.2 or later. Releases in the affected range (>= 2.0.0, < 2.26.2) are vulnerable. See the linked advisory for details on affected release lines.
Timeline
- 2026-11-02 CVE published
- 2026-11-04 Public record last updated
References
- VulnCheck advisoryhttps://www.vulncheck.com/advisories/an-otter-wiki-before-2.26.2-stored-xss-via-math-code-block
- Releasehttps://github.com/redimp/otterwiki/releases/tag/v2.26.2
- Fix commithttps://github.com/redimp/otterwiki/commit/b2e91d20ed36c01ce140d18698f9abb90685d481
- CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-120500
- NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-120500
- Severity
- Medium 5.3CVSS 4.0, scored by VulnCheck in the CVE record
- Package
- otterwiki
- Ecosystem
- PyPI
- Affected
- >= 2.0.0, < 2.26.2
- Fixed
- 2.26.2
- Weakness
- CWE-79
- CNA
- VulnCheck
- Credit
- Zachariah Mithanifinder