Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
Mermaid configuration APIs allow prototype pollution
Vulnerability Description
Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. Prior to 10.9.8 and 11.16.1, Mermaid's configuration setters (mermaid.initialize, mermaidAPI.setConfig, and mermaidAPI.updateSiteConfig) merge caller-supplied configuration into Mermaid's internal config using the assignWithDepth deep-merge helper, which is vulnerable to prototype pollution. This is only exploitable if an application forwards untrusted data directly into one of these configuration entry points, which is outside their documented usage; diagram-supplied configuration (e.g. %%{init: {}}%% or YAML frontmatter) is not affected. This issue is fixed in versions 10.9.8 and 11.16.1.
CVSS Information
CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:A/VC:N/VI:L/VA:L/SC:H/SI:H/SA:H
Vulnerability Type
CWE-1321
Vulnerability Title
mermaid-js mermaid 输入验证错误漏洞
Vulnerability Description
mermaid-js Mermaid是mermaid-js社区开源的一款通过文本定义图表的图表绘制工具。 mermaid-js mermaid 10.9.8之前版本和11.16.1之前版本存在输入验证错误漏洞,该漏洞源于配置setters使用assignWithDepth深度合并时容易受到原型污染攻击。
CVSS Information
N/A
Vulnerability Type
N/A