# CVE-2021-21660: XSS vulnerability in Jenkins Markdown Formatter Plugin

- Severity: Medium 5.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.09%, higher than 65% of CVEs (2026-11-30)
- Published: 2021-05-25T14:10:16.000Z
- Modified: 2026-06-17T03:35:57.067Z
- Also known as: GHSA-xqpp-26pp-2365
- Weaknesses: CWE-79
- Assigned by: jenkins

## 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.

(As written by CVE List.)

## Affected

- Jenkins project Jenkins Markdown Formatter Plugin: from unspecified up to 0.1.0
- io.jenkins.plugins:markdown-formatter (Maven): before 0.2.0
- jenkins markdown_formatter: up to 0.1.0

## Every score

- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://www.jenkins.io/security/advisory/2021-05-25/#SECURITY-2198> (vendor-advisory, web)
- <https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-21660> (third-party-advisory, web)
- <http://www.openwall.com/lists/oss-security/2021/05/25/3> (mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-21660> (advisory)
- <https://github.com/jenkinsci/markdown-formatter-plugin/commit/6b283a5bba3424fd5174b92e7ad8724cdbdf596c> (web)
- <https://github.com/jenkinsci/markdown-formatter-plugin> (package)

## Sources

- CVE List: [CVE-2021-21660](https://www.cve.org/CVERecord?id=CVE-2021-21660), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-xqpp-26pp-2365](https://github.com/advisories/GHSA-xqpp-26pp-2365), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2021-21660](https://nvd.nist.gov/vuln/detail/CVE-2021-21660), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-21660 · Whole record: https://cve.day/CVE-2021-21660.json · Rebuilt by cve.day 2026-11-25T22:58:01.527Z
