v4.0.1

Vanessa219/vditorv4.0.1Oct 18, 2026by Vanessa219

Upgrading?

AI Summary

This release prioritizes security by patching an XSS vulnerability in media rendering and upgrading Mermaid to version 11.17.2. It introduces a new configuration option to disable inline math formula parsing and enhances the visual styling of blockquotes and callouts.

Key Highlights

  • Fixed XSS vulnerability in media rendering
  • Upgraded Mermaid to version 11.17.2
  • Added support to disable inline math formula parsing
  • Improved blockquote and callout visual styles

New Features

  • Support for disabling inline math formula parsing

Full Release Notes

* [修复媒体渲染中的 XSS 漏洞](https://github.com/Vanessa219/vditor/security/advisories/GHSA-x2mx-f527-mxr9) `修复缺陷`
* [升级 Mermaid 到 11.17.2](https://github.com/Vanessa219/vditor/issues/1943) `修复缺陷`
* [支持关闭行内数学公式解析](https://github.com/Vanessa219/vditor/issues/1942) `引入特性`
* [改进 blockquote 和 callout 样式](https://github.com/Vanessa219/vditor/issues/1941) `改进功能`

Related Repositories