# CVE-2026-129170: FileCodeBox 2.2.1 through 2.8.4 Stored XSS via Markdown Preview Parser Error

- Severity: Medium 5.3 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-11-13T17:21:48.982Z
- Modified: 2026-11-17T19:17:55.653Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- vastsa FileCodeBox: from 2.2.1 up to 2.8.4

## Every score

- VulnCheck: CVSS:4.0 5.3 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N`
- VulnCheck: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://vul.yulun.ac.cn/20261027/filecodebox/> (exploit, third-party-advisory)
- <https://github.com/Wu-Yulun/vul-reports/blob/master/20261027/filecodebox/readme.zh-CN.md> (exploit)
- <https://github.com/vastsa/FileCodeBox/issues/557> (issue-tracking)
- <https://github.com/vastsa/FileCodeBoxFronted/commit/4c40406d366af1583a3ba2327366b7a62d765537> (patch)
- <https://github.com/vastsa/FileCodeBoxFronted/blob/bcc1dbda06b772d6f4afbcc12c6f12e60bbbc7da/src/utils/content-preview.ts#L43-L57> (technical-description)
- <https://github.com/vastsa/FileCodeBoxFronted/blob/bcc1dbda06b772d6f4afbcc12c6f12e60bbbc7da/src/components/common/ContentPreviewModal.vue#L45-L50> (technical-description)
- <https://www.vulncheck.com/advisories/filecodebox-2.2.1-through-2.8.4-stored-xss-via-markdown-preview-parser-error> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-129170](https://www.cve.org/CVERecord?id=CVE-2026-129170), CVE Terms of Use, modified 2026-11-17
- NVD: [CVE-2026-129170](https://nvd.nist.gov/vuln/detail/CVE-2026-129170), Public domain, modified 2026-11-17

---

Page: https://cve.day/CVE-2026-129170 · Whole record: https://cve.day/CVE-2026-129170.json · Rebuilt by cve.day 2026-11-25T22:59:50.768Z
