then
Defined in 3 files
Last patched
Overview
then in vitejs/vite was changed by 9 published CVE fixes between 2022 and 2026, in 15 distinct patches that added or removed 782 lines in total.
The name occurs in 3 files: playground/fs-serve/root/src/index.html, packages/playground/fs-serve/root/src/index.html, playground/assets-sanitize/index.html.
vitejs/vite has 16 CVEs with a located fix in total, so 56% of them touched this function.
CVEs that patched it
Every published CVE whose fix changed then, newest first, with the lines each fix touched.
CVE-2026-39364 · playground/fs-serve/root/src/index.html · lines 50–192 · +142 −365
High · CVSS 8.2EPSS 1.5%2026-04-07CVE-2025-58752 · playground/fs-serve/root/src/index.html · lines 149–271 · +26 −0 in 2 hunks
Low · CVSS 2.3EPSS 0.6%2025-09-08