{"id":"CVE-2026-129170","state":"PUBLISHED","title":"FileCodeBox 2.2.1 through 2.8.4 Stored XSS via Markdown Preview Parser Error","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.","publishedAt":"2026-11-13T17:21:48.982Z","updatedAt":"2026-11-17T18:54:30.319Z","severity":{"score":5.3,"label":"Medium","version":"4.0","vector":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["vastsa FileCodeBox"],"affected":[{"vendor":"vastsa","product":"FileCodeBox","packageURL":"pkg:github/vastsa/filecodebox","defaultStatus":"unaffected","versions":[{"version":"2.2.1","status":"affected","lessThanOrEqual":"2.8.4","versionType":"semver"}],"repo":"https://github.com/vastsa/FileCodeBox"}],"references":["https://vul.yulun.ac.cn/20261027/filecodebox/","https://github.com/vastsa/FileCodeBox/issues/557","https://github.com/vastsa/FileCodeBoxFronted/commit/4c40406d366af1583a3ba2327366b7a62d765537","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","https://www.vulncheck.com/advisories/filecodebox-2.2.1-through-2.8.4-stored-xss-via-markdown-preview-parser-error","https://github.com/Wu-Yulun/vul-reports/blob/master/20261027/filecodebox/readme.zh-CN.md"],"weaknesses":["CWE-79"],"ingestedAt":"2026-11-17T18:58:06.378Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/129xxx/CVE-2026-129170.json","commit":"ef0fa9dfaef78e3cd22eea0f69b69af0da7f0ff4","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-129170","state":"PUBLISHED","datePublished":"2026-11-13T17:21:48.982Z","dateUpdated":"2026-11-17T18:54:30.319Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-11-13T17:11:54.967Z"},"containers":{"cna":{"title":"FileCodeBox 2.2.1 through 2.8.4 Stored XSS via Markdown Preview Parser Error","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"vastsa","product":"FileCodeBox","packageURL":"pkg:github/vastsa/filecodebox","defaultStatus":"unaffected","versions":[{"version":"2.2.1","status":"affected","lessThanOrEqual":"2.8.4","versionType":"semver"}],"repo":"https://github.com/vastsa/FileCodeBox"}],"references":[{"url":"https://vul.yulun.ac.cn/20261027/filecodebox/","tags":["third-party-advisory"]},{"url":"https://github.com/vastsa/FileCodeBox/issues/557","tags":["issue-tracking"]},{"url":"https://github.com/vastsa/FileCodeBoxFronted/commit/4c40406d366af1583a3ba2327366b7a62d765537","tags":["patch"]},{"url":"https://github.com/vastsa/FileCodeBoxFronted/blob/bcc1dbda06b772d6f4afbcc12c6f12e60bbbc7da/src/utils/content-preview.ts#L43-L57","tags":["technical-description"]},{"url":"https://github.com/vastsa/FileCodeBoxFronted/blob/bcc1dbda06b772d6f4afbcc12c6f12e60bbbc7da/src/components/common/ContentPreviewModal.vue#L45-L50","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/filecodebox-2.2.1-through-2.8.4-stored-xss-via-markdown-preview-parser-error","name":"VulnCheck Advisory: FileCodeBox 2.2.1 through 2.8.4 Stored XSS via Markdown Preview Parser Error","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"LOW","subIntegrityImpact":"LOW","subAvailabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-11-13T17:21:48.982Z"},"datePublic":"2026-10-27T00:00:00.000Z","credits":[{"lang":"en","value":"Wu Yulun","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://vul.yulun.ac.cn/20261027/filecodebox/","tags":["exploit"]},{"url":"https://github.com/Wu-Yulun/vul-reports/blob/master/20261027/filecodebox/readme.zh-CN.md","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-17T18:54:09.202626Z","id":"CVE-2026-129170","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-17T18:54:30.319Z"}}]}}}