XSS vulnerability in Jenkins Markdown Formatter Plugin
Jenkins Markdown Formatter Plugin 0.1.0 and earlier uses a Markdown library to parse Markdown that does not escape crafted link target URLs.
This 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.
Jenkins Markdown Formatter Plugin 0.2.0 uses a different Markdown library that is not affected by this problem.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | io.jenkins.plugins:markdown-formatter | < 0.2.0 | 0.2.0 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-21660
- https://github.com/jenkinsci/markdown-formatter-plugin/commit/6b283a5bba3424fd5174b92e7ad8724cdbdf596c
- https://github.com/jenkinsci/markdown-formatter-plugin
- https://www.jenkins.io/security/advisory/2021-05-25/#SECURITY-2198
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-21660
- http://www.openwall.com/lists/oss-security/2021/05/25/3
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N- Weakness (CWE)
CWE-79- Platform
- Java / Kotlin (Maven)
- Package
io.jenkins.plugins:markdown-formatter- Disclosed
- 24.05.2022
- Updated
- 11.10.2026 11:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-xqpp-26pp-2365 - CC BY 4.0
Vulnerability history: io.jenkins.plugins:markdown-formatter
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.