{"id":"CVE-2021-35513","sourceIdentifier":"cve@mitre.org","published":"2021-06-27T12:15:08.100","lastModified":"2026-06-17T03:57:36.537","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"Mermaid before 8.11.0 allows XSS when the antiscript feature is used."},{"lang":"es","value":"Mermaid versiones anteriores a 8.11.0, permite un ataque de tipo XSS cuando la funcionalidad antiscript es usada"}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","baseScore":6.1,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":2.8,"impactScore":2.7}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:N/I:P/A:N","baseScore":4.3,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE"},"baseSeverity":"MEDIUM","exploitabilityScore":8.6,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-79"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:mermaid_project:mermaid:*:*:*:*:*:node.js:*:*","versionEndExcluding":"8.11.0","matchCriteriaId":"711D752C-A6F0-4968-BB41-62BA28F6EFE2"}]}]}],"references":[{"url":"https://github.com/mermaid-js/mermaid/issues/2122","source":"cve@mitre.org","tags":["Third Party Advisory"]},{"url":"https://github.com/mermaid-js/mermaid/pull/2123","source":"cve@mitre.org","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/mermaid-js/mermaid/releases/tag/8.11.0-rc2","source":"cve@mitre.org","tags":["Release Notes","Third Party Advisory"]},{"url":"https://github.com/mermaid-js/mermaid/issues/2122","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]},{"url":"https://github.com/mermaid-js/mermaid/pull/2123","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/mermaid-js/mermaid/releases/tag/8.11.0-rc2","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Release Notes","Third Party Advisory"]}]}