CVE-2022-36036

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-36036
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-36036.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-36036
Aliases
Related
Published
2022-08-29T18:15:09Z
Modified
2025-01-15T02:32:26.518823Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

mdx-mermaid provides plug and play access to Mermaid in MDX. There is a potential for an arbitrary javascript injection in versions less than 1.3.0 and 2.0.0-rc1. Modify any mermaid code blocks with arbitrary code and it will execute when the component is loaded by MDXjs. This vulnerability was patched in version(s) 1.3.0 and 2.0.0-rc2. There are currently no known workarounds.

References

Affected packages

Git / github.com/sjwall/mdx-mermaid

Affected ranges

Type
GIT
Repo
https://github.com/sjwall/mdx-mermaid
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

0.*

0.0.1

v1.*

v1.0.0
v1.1.0
v1.1.1
v1.2.0
v1.2.1
v1.2.2
v1.2.3