CVE-2021-21660
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.
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 Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| io.jenkins.plugins » markdown-formatter | < 0.2.0 | 0.2.0 |
Blast radius
Computed from the dependency graph of build 20261203.1441 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2021-21660 | nvd.nist.gov |
| Package | jenkinsci/markdown-formatter-plugin | github.com |
| Web | jenkinsci/markdown-formatter-plugin commit 6b283a5 | github.com |
| Web | security/advisory/2021-05-25 | jenkins.io |
| Web | vulnerability-database/CVE-2021-21660 | whitesourcesoftware.com |
| Web | lists/oss-security/2021/05/25/3 | openwall.com |
