5.4medium
XSS vulnerability in Jenkins Markdown Formatter Plugin
- Severity
- 5.4medium CVSS:3.1 by NVD
- Exploit likelihood
- 1.09% (higher than 65% of CVEs)
- Published
- Last changed
- Assigned by
- jenkins
- Also known as
- GHSA-xqpp-26pp-2365
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Jenkins project Jenkins Markdown Formatter Plugin | from unspecified up to 0.1.0 | CVE List |
| io.jenkins.plugins:markdown-formatter (Maven) | before 0.2.0 | GitHub Advisory Database |
| jenkins markdown_formatter | up to 0.1.0 | NVD |
All scores
| GitHub | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.5low CVSS:2.0 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
Jenkins Markdown Formatter Plugin versiones 0.1.0 y anteriores, no sanean las URL objetivo de enlaces diseñados, resultando en una vulnerabilidad de tipo cross-site scripting (XSS) almacenado explotable por atacantes con la capacidad de editar cualquier descripción renderizada utilizando el formateador de marcado configurado
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-21660 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-xqpp-26pp-2365 changed 2024-02-16 | CC-BY-4.0 |
| NVD | CVE-2021-21660 changed 2026-06-17 | Public domain |