GHSA-xqpp-26pp-2365

Suggest an improvement
Source
https://github.com/advisories/GHSA-xqpp-26pp-2365
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-xqpp-26pp-2365/GHSA-xqpp-26pp-2365.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-xqpp-26pp-2365
Aliases
  • CVE-2021-21660
Published
2022-05-24T19:03:11Z
Modified
2024-02-16T08:08:05.982027Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
XSS vulnerability in Jenkins Markdown Formatter Plugin
Details

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.

Database specific
{
    "nvd_published_at": "2021-05-25T17:15:00Z",
    "cwe_ids": [
        "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2022-12-15T17:32:32Z"
}
References

Affected packages

Maven / io.jenkins.plugins:markdown-formatter

Package

Name
io.jenkins.plugins:markdown-formatter
View open source insights on deps.dev
Purl
pkg:maven/io.jenkins.plugins/markdown-formatter

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.2.0

Affected versions

0.*

0.1.0

Database specific

{
    "last_known_affected_version_range": "<= 0.1.0"
}