Stored cross-site scripting in FileCodeBox Markdown preview
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
vastsa FileCodeBox from 2.2.1 through 2.8.4 contains a stored cross-site scripting flaw (CWE-79) in renderMarkdownPreview. When the Markdown parser throws an error, the function returns unsanitized text. An unauthenticated attacker can share crafted text that runs script in a victim's browser and steals the admin token from localStorage.
Written with Claude Haiku 5.5 from the sources below · 2026-11-13
Description from the CNA
FileCodeBox 2.2.1 through 2.8.4 contains a stored cross-site scripting vulnerability in renderMarkdownPreview, which returns unsanitized text when the marked parser throws. Unauthenticated attackers can share text with thousands of nested blockquote markers followed by HTML payloads, executing script that steals the admin token from localStorage.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
The sources list no fixed version for FileCodeBox.
Written with Claude Haiku 5.5 from the sources below · 2026-11-13
Timeline
- 2026-11-13 Threatist record created from CVE-2026-129170
- 2026-11-13 Alias added: GHSA-g3pw-9gjh-mjcc
References
Other 3
- https://github.com/vastsa/FileCodeBox/issues/557
- https://github.com/vastsa/FileCodeBoxFronted/blob/bcc1dbda06b772d6f4afbcc12c6f12e60bbbc7da/src/utils/content-preview.ts#L43-L57
- https://github.com/vastsa/FileCodeBoxFronted/blob/bcc1dbda06b772d6f4afbcc12c6f12e60bbbc7da/src/components/common/ContentPreviewModal.vue#L45-L50
More vastsa vulnerabilities
- TI-2026-56900 vastsa FileCodeBox Pickup Limit views.py update_file_usage race condition CVSS 4.0MEDIUM 6.9
- TI-2026-46180 FileCodeBox < 2.4 Anti-bruteforce Rate Limit Bypass via Spoofed Headers CVSS 4.0HIGH 8.7
Sources
- CVE-2026-129170 · CVE Program
- CVE-2026-129170 · NVD
- FIRST EPSS
- GHSA-g3pw-9gjh-mjcc · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences