{"id":"CVE-2020-13262","aliases":["BIT-gitlab-2020-13262","EUVD-2020-5523","GHSA-pw3w-gf65-52v7","UBUNTU-CVE-2020-13262"],"status":"published","title":"Client-Side code injection through Mermaid markup in GitLab CE/EE 12.9 and later through 13.0.1...","description":"Client-Side code injection through Mermaid markup in GitLab CE/EE 12.9 and later through 13.0.1 allows a specially crafted Mermaid payload to PUT requests on behalf of other users via clicking on a link","severity":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00871,"percentile":0.59095,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-74","CWE-79"],"published":"2020-06-19T21:59:20Z","modified":"2026-10-30T10:30:38Z","fixes":[{"ecosystem":"Bitnami","package":"gitlab","fixed_in":["12.9.8","12.10.7","13.0.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Bitnami","package":"gitlab","ranges":[{"type":"SEMVER","events":[{"introduced":"12.9.0"},{"fixed":"12.9.8"},{"introduced":"12.10.0"},{"fixed":"12.10.7"},{"introduced":"13.0.0"},{"fixed":"13.0.1"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"gitlab","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.4.3+dfsg-9","8.4.3+dfsg-12","8.5.8+dfsg-5"]}],"products":[{"vendor":"gitlab","product":"gitlab"}],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/211949","tags":["x_refsource_MISC","x_transferred","Broken Link","web","report"]},{"url":"https://hackerone.com/reports/824689","tags":["x_refsource_MISC","x_transferred","Permissions Required","web","report"]},{"url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2020/CVE-2020-13262.json","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-13262","tags":["web"]},{"url":"https://github.com/advisories/GHSA-pw3w-gf65-52v7"},{"url":"https://ubuntu.com/security/CVE-2020-13262","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-13262","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2020-13262","description":"Client-Side code injection through Mermaid markup in GitLab CE/EE 12.9 and later through 13.0.1 allows a specially crafted Mermaid payload to PUT requests on behalf of other users via clicking on a link","status":"published","published":"2020-06-19T21:59:20Z","modified":"2024-08-04T12:11:19.462Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna"}],"updated_at":"2026-11-02T14:35:53.868619Z"}],"euvd":[{"id":"EUVD-2020-5523","description":"Client-Side code injection through Mermaid markup in GitLab CE/EE 12.9 and later through 13.0.1 allows a specially crafted Mermaid payload to PUT requests on behalf of other users via clicking on a link","status":"published","published":"2020-06-19T21:59:20Z","modified":"2024-08-04T12:11:19Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-03T03:07:38.311662Z"}],"ghsa":[{"id":"GHSA-pw3w-gf65-52v7","title":"Client-Side code injection through Mermaid markup in GitLab CE/EE 12.9 and later through 13.0.1...","description":"Client-Side code injection through Mermaid markup in GitLab CE/EE 12.9 and later through 13.0.1 allows a specially crafted Mermaid payload to PUT requests on behalf of other users via clicking on a link","status":"published","published":"2022-05-24T17:21:19Z","modified":"2023-01-29T05:02:57Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:45:12.832224Z"}],"nvd":[{"id":"CVE-2020-13262","description":"Client-Side code injection through Mermaid markup in GitLab CE/EE 12.9 and later through 13.0.1 allows a specially crafted Mermaid payload to PUT requests on behalf of other users via clicking on a link","status":"published","published":"2020-06-19T22:15:12.647Z","modified":"2026-06-17T02:52:48.8Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-74"],"updated_at":"2026-11-02T14:06:07.249892Z"}],"osv":[{"id":"CVE-2020-13262","description":"Client-Side code injection through Mermaid markup in GitLab CE/EE 12.9 and later through 13.0.1 allows a specially crafted Mermaid payload to PUT requests on behalf of other users via clicking on a link","status":"published","published":"2020-06-19T22:15:12.647Z","modified":"2026-10-30T10:30:38.817503742Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:14.034736Z"},{"id":"UBUNTU-CVE-2020-13262","description":"Client-Side code injection through Mermaid markup in GitLab CE/EE 12.9 and later through 13.0.1 allows a specially crafted Mermaid payload to PUT requests on behalf of other users via clicking on a link","status":"published","published":"2020-06-19T22:15:00Z","modified":"2025-10-24T04:48:30Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:54:22.804634Z"},{"id":"BIT-gitlab-2020-13262","description":"Client-Side code injection through Mermaid markup in GitLab CE/EE 12.9 and later through 13.0.1 allows a specially crafted Mermaid payload to PUT requests on behalf of other users via clicking on a link","status":"published","published":"2024-03-06T11:23:20.331Z","modified":"2026-09-08T08:47:34.771680322Z","updated_at":"2026-11-02T15:28:29.999658Z"}]}}
