GHSA-922h-x9qv-2274

Suggest an improvement
Source
https://github.com/advisories/GHSA-922h-x9qv-2274
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-922h-x9qv-2274/GHSA-922h-x9qv-2274.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-922h-x9qv-2274
Aliases
Published
2022-05-24T16:52:45Z
Modified
2024-05-30T14:31:09.689199Z
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
Jenkins PegDown Formatter Plugin has Cross-site Scripting vulnerability
Details

PegDown Formatter Plugin uses the PegDown library to implement support for rendering Markdown formatted descriptions in Jenkins. It advertises disabling of HTML to prevent cross-site scripting (XSS) as a feature.

PegDown Formatter Plugin does not prevent the use of javascript: scheme in URLs for links. This results in an XSS vulnerability exploitable by users able to configure entities with descriptions or similar properties that are rendered by the configured markup formatter.

As of publication of this advisory, there is no fix.

Database specific
{
    "nvd_published_at": "2019-08-07T15:15:00Z",
    "cwe_ids": [
        "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-03-03T22:51:59Z"
}
References

Affected packages

Maven / org.jenkins-ci.plugins:pegdown-formatter

Package

Name
org.jenkins-ci.plugins:pegdown-formatter
View open source insights on deps.dev
Purl
pkg:maven/org.jenkins-ci.plugins/pegdown-formatter

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
1.3

Affected versions

1.*

1.0
1.1
1.2
1.3