{"id":"CVE-2021-21660","aliases":["EUVD-2022-5842","GHSA-xqpp-26pp-2365"],"status":"published","title":"XSS vulnerability in Jenkins Markdown Formatter Plugin","description":"Jenkins Markdown Formatter Plugin 0.1.0 and earlier does not sanitize crafted link target URLs, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers with the ability to edit any description rendered using the configured markup formatter.","severity":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01087,"percentile":0.65583,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2021-05-25T14:10:16Z","modified":"2026-06-17T03:35:57Z","fixes":[{"ecosystem":"Maven","package":"io.jenkins.plugins:markdown-formatter","fixed_in":["0.2.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"io.jenkins.plugins:markdown-formatter","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.1.0"},{"fixed":"0.2.0"}]}]},{"source":"osv","ecosystem":"Maven","package":"io.jenkins.plugins:markdown-formatter","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.2.0"}]}],"versions":["0.1.0"]}],"products":[{"vendor":"jenkins","product":"markdown_formatter"},{"vendor":"jenkins project","product":"jenkins markdown formatter plugin"}],"references":[{"url":"https://www.jenkins.io/security/advisory/2021-05-25/#SECURITY-2198","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","web"]},{"url":"https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-21660","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2021/05/25/3","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21660","tags":["advisory"]},{"url":"https://github.com/jenkinsci/markdown-formatter-plugin/commit/6b283a5bba3424fd5174b92e7ad8724cdbdf596c","tags":["web"]},{"url":"https://github.com/advisories/GHSA-xqpp-26pp-2365"},{"url":"https://github.com/jenkinsci/markdown-formatter-plugin","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-21660","description":"Jenkins Markdown Formatter Plugin 0.1.0 and earlier does not sanitize crafted link target URLs, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers with the ability to edit any description rendered using the configured markup formatter.","status":"published","published":"2021-05-25T14:10:16Z","modified":"2024-08-03T18:23:27.399Z","updated_at":"2026-11-02T14:33:00.488332Z"}],"euvd":[{"id":"EUVD-2022-5842","description":"Jenkins Markdown Formatter Plugin 0.1.0 and earlier does not sanitize crafted link target URLs, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers with the ability to edit any description rendered using the configured markup formatter.","status":"published","published":"2021-05-25T14:10:16Z","modified":"2024-08-03T18:23:27Z","updated_at":"2026-11-03T03:25:05.131984Z"}],"ghsa":[{"id":"GHSA-xqpp-26pp-2365","title":"XSS vulnerability in Jenkins Markdown Formatter Plugin","description":"Jenkins Markdown Formatter Plugin 0.1.0 and earlier uses a Markdown library to parse Markdown that does not escape crafted link target URLs.\n\nThis results in a stored cross-site scripting (XSS) vulnerability exploitable by attackers with the ability to edit any description rendered using the configured markup formatter.\n\nJenkins Markdown Formatter Plugin 0.2.0 uses a different Markdown library that is not affected by this problem.","status":"published","published":"2022-05-24T19:03:11Z","modified":"2023-12-22T13:26:52Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:37:28.04129Z"}],"nvd":[{"id":"CVE-2021-21660","description":"Jenkins Markdown Formatter Plugin 0.1.0 and earlier does not sanitize crafted link target URLs, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers with the ability to edit any description rendered using the configured markup formatter.","status":"published","published":"2021-05-25T17:15:08.15Z","modified":"2026-06-17T03:35:57.067Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","level":"low","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:06:53.987491Z"}],"osv":[{"id":"GHSA-xqpp-26pp-2365","title":"XSS vulnerability in Jenkins Markdown Formatter Plugin","description":"Jenkins Markdown Formatter Plugin 0.1.0 and earlier uses a Markdown library to parse Markdown that does not escape crafted link target URLs.\n\nThis results in a stored cross-site scripting (XSS) vulnerability exploitable by attackers with the ability to edit any description rendered using the configured markup formatter.\n\nJenkins Markdown Formatter Plugin 0.2.0 uses a different Markdown library that is not affected by this problem.","status":"published","published":"2022-05-24T19:03:11Z","modified":"2024-02-16T08:08:05.982027Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:47:00.198893Z"}]}}
