{"id":2001598,"name":"mdx-mermaid","ecosystem":"npm","description":"Display mermaid diagrams in mdx files.","homepage":"https://sjwall.github.io/mdx-mermaid","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/sjwall/mdx-mermaid","keywords_array":["mdx","markdown","mermaid","docusaurus","mdxast","react","jsx"],"namespace":null,"versions_count":23,"first_release_published_at":"2021-08-06T14:37:19.215Z","latest_release_published_at":"2026-06-13T09:30:38.762Z","latest_release_number":"2.0.4","last_synced_at":"2026-09-25T21:17:45.440Z","created_at":"2022-04-09T19:26:23.314Z","updated_at":"2026-09-26T04:18:08.307Z","registry_url":"https://www.npmjs.com/package/mdx-mermaid","install_command":"npm install mdx-mermaid","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"next":"2.0.0-rc7","latest":"2.0.4"},"contentPolicy":null},"repo_metadata":{"id":37699022,"uuid":"392419845","full_name":"sjwall/mdx-mermaid","owner":"sjwall","description":"Plug and play Mermaid in MDX","archived":false,"fork":false,"pushed_at":"2026-09-09T13:48:31.000Z","size":9069,"stargazers_count":187,"open_issues_count":13,"forks_count":32,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-09-19T18:56:14.708Z","etag":null,"topics":["docusaurus2","mdx","mermaid"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sjwall.png","metadata":{"files":{"readme":"readme.md","changelog":"changelog.md","contributing":null,"funding":".github/FUNDING.yml","license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"sjwall"}},"created_at":"2021-08-03T18:41:29.000Z","updated_at":"2026-09-14T22:42:52.000Z","dependencies_parsed_at":"2024-06-18T13:47:45.462Z","dependency_job_id":"579f486f-1c53-4a38-be61-f6d1d95c9852","html_url":"https://github.com/sjwall/mdx-mermaid","commit_stats":{"total_commits":154,"total_committers":11,"mean_commits":14.0,"dds":0.3701298701298701,"last_synced_commit":"a7b91c147f7affa0aba465fc3e0e5fdf73ad4950"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"purl":"pkg:github/sjwall/mdx-mermaid","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sjwall","download_url":"https://codeload.github.com/sjwall/mdx-mermaid/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/sbom","scorecard":{"id":828889,"data":{"date":"2025-08-11","repo":{"name":"github.com/sjwall/mdx-mermaid","commit":"1007cbe53cac4e484b461239b626f45591890aca"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.7,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":1,"reason":"Found 3/20 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/sjwall/mdx-mermaid/build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/sjwall/mdx-mermaid/build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/sjwall/mdx-mermaid/build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/sjwall/mdx-mermaid/build.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/sjwall/mdx-mermaid/build.yml/main?enable=pin","Warn: containerImage not pinned by hash: .devcontainer/Dockerfile:5","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: license:0","Info: FSF or OSI recognized license: MIT License: license:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":1,"reason":"branch protection is not maximal on development and all release branches","details":["Warn: branch protection not enabled for branch 'v1.x.x'","Info: 'allow deletion' disabled on branch 'main'","Info: 'force pushes' disabled on branch 'main'","Info: 'branch protection settings apply to administrators' is required to merge on branch 'main'","Warn: could not determine whether codeowners review is allowed","Warn: no status checks found to merge onto branch 'main'","Warn: PRs are not required to make changes on branch 'main'; or we don't have data to detect it.If you think it might be the latter, make sure to run Scorecard with a PAT or use Repo Rules (that are always public) instead of Branch Protection settings"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 13 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"26 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-wf5p-g6vw-rhxx","Warn: Project is vulnerable to: GHSA-jr5f-v2jv-69x6","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-gx9m-whjm-85jf","Warn: Project is vulnerable to: GHSA-mmhx-hmjr-r674","Warn: Project is vulnerable to: GHSA-vhxf-7vqr-mrjg","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97","Warn: Project is vulnerable to: GHSA-4www-5p9h-95mh","Warn: Project is vulnerable to: GHSA-9gqv-wp59-fq42","Warn: Project is vulnerable to: GHSA-m5qc-5hw7-8vg7","Warn: Project is vulnerable to: GHSA-rvgm-35jw-q628","Warn: Project is vulnerable to: GHSA-m4gq-x24j-jpmf","Warn: Project is vulnerable to: GHSA-rp65-9cf3-cjxr","Warn: Project is vulnerable to: GHSA-76c9-3jph-rj3q","Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j","Warn: Project is vulnerable to: GHSA-x7hr-w5r2-h6wg","Warn: Project is vulnerable to: GHSA-pq67-2wwv-3xjx","Warn: Project is vulnerable to: GHSA-8cj5-5rvv-wf4v","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-w5p7-h5w8-2hfq","Warn: Project is vulnerable to: GHSA-c76h-2ccp-4975","Warn: Project is vulnerable to: GHSA-cxrh-j4jr-qwg3","Warn: Project is vulnerable to: GHSA-4v9v-hfq4-rm2v","Warn: Project is vulnerable to: GHSA-9jgg-88mc-972h"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-23T17:11:45.380Z","repository_id":37699022,"created_at":"2025-08-23T17:11:45.381Z","updated_at":"2025-08-23T17:11:45.381Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":341189360,"owners_count":37516558,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-09-20T02:00:06.856Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"},"owner_record":{"login":"sjwall","name":"Sam Wall","uuid":"16527946","kind":"user","description":"","email":"","website":null,"location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/16527946?v=4","repositories_count":6,"last_synced_at":"2024-05-01T11:13:28.005Z","metadata":{"has_sponsors_listing":true},"html_url":"https://github.com/sjwall","funding_links":["https://github.com/sponsors/sjwall"],"total_stars":1676,"followers":41,"following":1,"created_at":"2022-11-05T15:39:37.743Z","updated_at":"2024-05-01T11:13:30.442Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sjwall","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sjwall/repositories"},"tags":[{"name":"v2.0.4","sha":"a00440957b3ba5e1066004a566f725e7a650636d","kind":"commit","published_at":"2026-06-13T09:27:37.000Z","download_url":"https://codeload.github.com/sjwall/mdx-mermaid/tar.gz/v2.0.4","html_url":"https://github.com/sjwall/mdx-mermaid/releases/tag/v2.0.4","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sjwall/mdx-mermaid@v2.0.4","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/tags/v2.0.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/tags/v2.0.4/manifests"},{"name":"v2.0.3","sha":"1007cbe53cac4e484b461239b626f45591890aca","kind":"commit","published_at":"2024-12-06T13:32:46.000Z","download_url":"https://codeload.github.com/sjwall/mdx-mermaid/tar.gz/v2.0.3","html_url":"https://github.com/sjwall/mdx-mermaid/releases/tag/v2.0.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sjwall/mdx-mermaid@v2.0.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/tags/v2.0.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/tags/v2.0.3/manifests"},{"name":"v2.0.2","sha":"3d33d842993fb3fc32cb5b8d2bfdc462525b043d","kind":"commit","published_at":"2024-11-05T21:41:19.000Z","download_url":"https://codeload.github.com/sjwall/mdx-mermaid/tar.gz/v2.0.2","html_url":"https://github.com/sjwall/mdx-mermaid/releases/tag/v2.0.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sjwall/mdx-mermaid@v2.0.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/tags/v2.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/tags/v2.0.2/manifests"},{"name":"v2.0.1","sha":"a7b91c147f7affa0aba465fc3e0e5fdf73ad4950","kind":"commit","published_at":"2024-08-15T19:15:06.000Z","download_url":"https://codeload.github.com/sjwall/mdx-mermaid/tar.gz/v2.0.1","html_url":"https://github.com/sjwall/mdx-mermaid/releases/tag/v2.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sjwall/mdx-mermaid@v2.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/tags/v2.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/tags/v2.0.1/manifests"},{"name":"v2.0.0","sha":"68921412a21769858851c5d21e59d24142091318","kind":"commit","published_at":"2023-07-09T21:25:41.000Z","download_url":"https://codeload.github.com/sjwall/mdx-mermaid/tar.gz/v2.0.0","html_url":"https://github.com/sjwall/mdx-mermaid/releases/tag/v2.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sjwall/mdx-mermaid@v2.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/tags/v2.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/tags/v2.0.0/manifests"},{"name":"v2.0.0-rc7","sha":"69a08e815324fc0de730739ffb4967ec83cb60a6","kind":"commit","published_at":"2023-02-16T16:19:45.000Z","download_url":"https://codeload.github.com/sjwall/mdx-mermaid/tar.gz/v2.0.0-rc7","html_url":"https://github.com/sjwall/mdx-mermaid/releases/tag/v2.0.0-rc7","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sjwall/mdx-mermaid@v2.0.0-rc7","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/tags/v2.0.0-rc7","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/tags/v2.0.0-rc7/manifests"},{"name":"v2.0.0-rc6","sha":"69a08e815324fc0de730739ffb4967ec83cb60a6","kind":"commit","published_at":"2023-02-16T16:19:45.000Z","download_url":"https://codeload.github.com/sjwall/mdx-mermaid/tar.gz/v2.0.0-rc6","html_url":"https://github.com/sjwall/mdx-mermaid/releases/tag/v2.0.0-rc6","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sjwall/mdx-mermaid@v2.0.0-rc6","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/tags/v2.0.0-rc6","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/tags/v2.0.0-rc6/manifests"},{"name":"v2.0.0-rc5","sha":"fbbe2eb15a7c05cd545c109b68e3dc110f88a4b0","kind":"commit","published_at":"2023-02-07T10:43:12.000Z","download_url":"https://codeload.github.com/sjwall/mdx-mermaid/tar.gz/v2.0.0-rc5","html_url":"https://github.com/sjwall/mdx-mermaid/releases/tag/v2.0.0-rc5","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sjwall/mdx-mermaid@v2.0.0-rc5","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/tags/v2.0.0-rc5","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/tags/v2.0.0-rc5/manifests"},{"name":"v2.0.0-rc2","sha":"8e47fce5ac787bef93514381008a61a6fe6759f2","kind":"tag","published_at":"2023-01-14T20:30:31.000Z","download_url":"https://codeload.github.com/sjwall/mdx-mermaid/tar.gz/v2.0.0-rc2","html_url":"https://github.com/sjwall/mdx-mermaid/releases/tag/v2.0.0-rc2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sjwall/mdx-mermaid@v2.0.0-rc2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/tags/v2.0.0-rc2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/tags/v2.0.0-rc2/manifests"},{"name":"v2.0.0-rc3","sha":"1809138dcd67486442ef03fd6fc84d4b6f3846d2","kind":"tag","published_at":"2023-01-14T20:30:10.000Z","download_url":"https://codeload.github.com/sjwall/mdx-mermaid/tar.gz/v2.0.0-rc3","html_url":"https://github.com/sjwall/mdx-mermaid/releases/tag/v2.0.0-rc3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sjwall/mdx-mermaid@v2.0.0-rc3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/tags/v2.0.0-rc3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/tags/v2.0.0-rc3/manifests"},{"name":"v2.0.0-rc4","sha":"8b567d4746fd0433d89544f58cba1e4403fb21c9","kind":"commit","published_at":"2023-01-14T20:23:20.000Z","download_url":"https://codeload.github.com/sjwall/mdx-mermaid/tar.gz/v2.0.0-rc4","html_url":"https://github.com/sjwall/mdx-mermaid/releases/tag/v2.0.0-rc4","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sjwall/mdx-mermaid@v2.0.0-rc4","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/tags/v2.0.0-rc4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/tags/v2.0.0-rc4/manifests"},{"name":"v1.3.2","sha":"45a70567617108e0dd3a043b37ee776d44e9f48b","kind":"commit","published_at":"2022-08-22T18:45:13.000Z","download_url":"https://codeload.github.com/sjwall/mdx-mermaid/tar.gz/v1.3.2","html_url":"https://github.com/sjwall/mdx-mermaid/releases/tag/v1.3.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sjwall/mdx-mermaid@v1.3.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/tags/v1.3.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/tags/v1.3.2/manifests"},{"name":"v1.3.1","sha":"feae276fb3ac048ec155a87e542c196c6e78f0c5","kind":"commit","published_at":"2022-08-22T18:08:37.000Z","download_url":"https://codeload.github.com/sjwall/mdx-mermaid/tar.gz/v1.3.1","html_url":"https://github.com/sjwall/mdx-mermaid/releases/tag/v1.3.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sjwall/mdx-mermaid@v1.3.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/tags/v1.3.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/tags/v1.3.1/manifests"},{"name":"v1.3.0","sha":"1db4bdd2aa81ab7d9849eed2b0a5e9fe4ae93f31","kind":"commit","published_at":"2022-08-22T17:19:37.000Z","download_url":"https://codeload.github.com/sjwall/mdx-mermaid/tar.gz/v1.3.0","html_url":"https://github.com/sjwall/mdx-mermaid/releases/tag/v1.3.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sjwall/mdx-mermaid@v1.3.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/tags/v1.3.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/tags/v1.3.0/manifests"},{"name":"v2.0.0-rc1","sha":"5e16e68d1e52a1471fd17ef492eb19b842601d9e","kind":"commit","published_at":"2022-08-10T18:49:31.000Z","download_url":"https://codeload.github.com/sjwall/mdx-mermaid/tar.gz/v2.0.0-rc1","html_url":"https://github.com/sjwall/mdx-mermaid/releases/tag/v2.0.0-rc1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sjwall/mdx-mermaid@v2.0.0-rc1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/tags/v2.0.0-rc1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/tags/v2.0.0-rc1/manifests"},{"name":"v1.2.3","sha":"c263a0ce50d6f19a572795c95f4e4ea63e3a9c51","kind":"commit","published_at":"2022-05-24T08:18:25.000Z","download_url":"https://codeload.github.com/sjwall/mdx-mermaid/tar.gz/v1.2.3","html_url":"https://github.com/sjwall/mdx-mermaid/releases/tag/v1.2.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sjwall/mdx-mermaid@v1.2.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/tags/v1.2.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/tags/v1.2.3/manifests"},{"name":"v1.2.2","sha":"982e2563eeae0a5fd66c87930a5fda675efb78e3","kind":"commit","published_at":"2022-03-10T20:36:49.000Z","download_url":"https://codeload.github.com/sjwall/mdx-mermaid/tar.gz/v1.2.2","html_url":"https://github.com/sjwall/mdx-mermaid/releases/tag/v1.2.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sjwall/mdx-mermaid@v1.2.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/tags/v1.2.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/tags/v1.2.2/manifests"},{"name":"v1.2.1","sha":"5937e1d63ff1e9192e5d9791d5bdeecf2660500b","kind":"commit","published_at":"2022-01-09T15:09:36.000Z","download_url":"https://codeload.github.com/sjwall/mdx-mermaid/tar.gz/v1.2.1","html_url":"https://github.com/sjwall/mdx-mermaid/releases/tag/v1.2.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sjwall/mdx-mermaid@v1.2.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/tags/v1.2.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/tags/v1.2.1/manifests"},{"name":"v1.2.0","sha":"1a827b19b7349961af5dca6ed2b459b1188547d5","kind":"commit","published_at":"2022-01-08T16:34:50.000Z","download_url":"https://codeload.github.com/sjwall/mdx-mermaid/tar.gz/v1.2.0","html_url":"https://github.com/sjwall/mdx-mermaid/releases/tag/v1.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sjwall/mdx-mermaid@v1.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/tags/v1.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/tags/v1.2.0/manifests"},{"name":"v1.1.1","sha":"b0cb3927109030c67d70f96a4ee132b0f04377b1","kind":"commit","published_at":"2021-11-06T11:09:41.000Z","download_url":"https://codeload.github.com/sjwall/mdx-mermaid/tar.gz/v1.1.1","html_url":"https://github.com/sjwall/mdx-mermaid/releases/tag/v1.1.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sjwall/mdx-mermaid@v1.1.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/tags/v1.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/tags/v1.1.1/manifests"},{"name":"v1.1.0","sha":"8527fc3a06c27c25bbe54a554c7b814d605d9e9c","kind":"commit","published_at":"2021-08-18T20:41:39.000Z","download_url":"https://codeload.github.com/sjwall/mdx-mermaid/tar.gz/v1.1.0","html_url":"https://github.com/sjwall/mdx-mermaid/releases/tag/v1.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sjwall/mdx-mermaid@v1.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/tags/v1.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/tags/v1.1.0/manifests"},{"name":"v1.0.0","sha":"91782f1debf7688016033656bbc382abbef7c54f","kind":"commit","published_at":"2021-08-07T20:26:04.000Z","download_url":"https://codeload.github.com/sjwall/mdx-mermaid/tar.gz/v1.0.0","html_url":"https://github.com/sjwall/mdx-mermaid/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sjwall/mdx-mermaid@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/tags/v1.0.0/manifests"},{"name":"0.0.1","sha":"b2cffa6b1e12ae84c608d5aff9f458af8c26b24b","kind":"commit","published_at":"2021-08-06T14:33:40.000Z","download_url":"https://codeload.github.com/sjwall/mdx-mermaid/tar.gz/0.0.1","html_url":"https://github.com/sjwall/mdx-mermaid/releases/tag/0.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sjwall/mdx-mermaid@0.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/tags/0.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/tags/0.0.1/manifests"}]},"repo_metadata_updated_at":"2026-09-23T20:19:31.784Z","dependent_packages_count":10,"downloads":173780,"downloads_period":"last-month","dependent_repos_count":506,"rankings":{"downloads":0.7210276976876571,"dependent_repos_count":0.7824587376628883,"dependent_packages_count":2.0223800624492707,"stargazers_count":4.645420133417868,"forks_count":4.798725839417408,"docker_downloads_count":0.9410184036074201,"average":2.318505145707085},"purl":"pkg:npm/mdx-mermaid","advisories":[{"uuid":"GSA_kwCzR0hTQS1ydmdtLTM1anctcTYyOM4AAujy","url":"https://github.com/advisories/GHSA-rvgm-35jw-q628","title":"Improper Control of Generation of Code ('Code Injection') in mdx-mermaid","description":"### Impact\n\nArbitary javascript injection\n\nModify any mermaid code blocks with the following code and the code inside will execute when the component is loaded by MDXjs\n\n```\n` + (function () {\n  // Put Javascript code here\n  return ''\n}()) + `\n```\n\nThe block below shows a valid mermaid code block\n\n````md\n```mermaid\ngraph TD;\n    A--\u003eB;\n    A--\u003eC;\n    B--\u003eD;\n    C--\u003eD;\n```\n````\n\nThe same block but with the exploit added\n\n````md\n```mermaid\n` + (function () {\n  alert('vulnerable')\n  return ''\n}()) + `\ngraph TD;\n    A--\u003eB;\n    A--\u003eC;\n    B--\u003eD;\n    C--\u003eD;\n```\n````\n\n### Patches\n1.3.0 and 2.0.0-rc2\n\n### Workarounds\nNone known","origin":"UNSPECIFIED","severity":"LOW","published_at":"2022-08-31T22:26:11.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":3.6,"cvss_vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","references":["https://github.com/sjwall/mdx-mermaid/security/advisories/GHSA-rvgm-35jw-q628","https://nvd.nist.gov/vuln/detail/CVE-2022-36036","https://github.com/sjwall/mdx-mermaid/commit/f2b99386660fd13316823529c3f1314ebbcdfd2a","https://github.com/advisories/GHSA-rvgm-35jw-q628"],"source_kind":"github","identifiers":["GHSA-rvgm-35jw-q628","CVE-2022-36036"],"repository_url":"https://github.com/sjwall/mdx-mermaid","blast_radius":0.0,"created_at":"2022-12-21T16:12:00.257Z","updated_at":"2026-09-26T03:13:55.893Z","epss_percentage":0.00398,"epss_percentile":0.31199,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1ydmdtLTM1anctcTYyOM4AAujy","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS1ydmdtLTM1anctcTYyOM4AAujy","packages":[{"ecosystem":"npm","package_name":"mdx-mermaid","versions":[{"first_patched_version":"2.0.0-rc2","vulnerable_version_range":"= 2.0.0-rc1"},{"first_patched_version":"1.3.0","vulnerable_version_range":"\u003c 1.3.0"}],"purl":"pkg:npm/mdx-mermaid"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1ydmdtLTM1anctcTYyOM4AAujy/related_packages","related_advisories":[]}],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/mdx-mermaid","docker_dependents_count":1,"docker_downloads_count":624,"usage_url":"https://repos.ecosyste.ms/usage/npm/mdx-mermaid","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/mdx-mermaid/dependencies","status":null,"funding_links":["https://github.com/sponsors/sjwall"],"critical":null,"issue_metadata":{"last_synced_at":"2026-09-23T16:10:12.203Z","issues_count":31,"pull_requests_count":117,"avg_time_to_close_issue":6507884.928571428,"avg_time_to_close_pull_request":2236784.96875,"issues_closed_count":28,"pull_requests_closed_count":96,"pull_request_authors_count":11,"issue_authors_count":30,"avg_comments_per_issue":2.2580645161290325,"avg_comments_per_pull_request":0.6923076923076923,"merged_pull_requests_count":81,"bot_issues_count":1,"bot_pull_requests_count":105,"past_year_issues_count":1,"past_year_pull_requests_count":19,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":1136611.4,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":10,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":1,"past_year_avg_comments_per_issue":1.0,"past_year_avg_comments_per_pull_request":0.15789473684210525,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":19,"past_year_merged_pull_requests_count":7,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2Fmdx-mermaid/issues","maintainers":[{"login":"sjwall","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/sjwall"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/mdx-mermaid/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/mdx-mermaid/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/mdx-mermaid/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/mdx-mermaid/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/mdx-mermaid/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/mdx-mermaid/codemeta","maintainers":[{"uuid":"sjwall","login":"sjwall","name":null,"email":"oss@samuelwall.co.uk","url":null,"packages_count":5,"html_url":"https://www.npmjs.com/~sjwall","role":null,"created_at":"2022-11-13T06:26:58.403Z","updated_at":"2022-11-13T06:26:58.403Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/sjwall/packages"}]}