GHSA-39r3-h8q6-2phq

Suggest an improvement
Source
https://github.com/advisories/GHSA-39r3-h8q6-2phq
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-39r3-h8q6-2phq/GHSA-39r3-h8q6-2phq.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-39r3-h8q6-2phq
Aliases
Published
2022-06-24T00:00:31Z
Modified
2023-11-08T04:09:42.556316Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Reflected Cross site scripting in Jenkins Embeddable Build Status Plugin
Details

Jenkins Embeddable Build Status Plugin 2.0.3 allows specifying a 'link' query parameter that build status badges will link to, without restricting possible values, resulting in a reflected cross-site scripting (XSS) vulnerability.

Embeddable Build Status Plugin 2.0.4 limits URLs to http and https protocols and correctly escapes the provided value.

Database specific
{
    "nvd_published_at": "2022-06-23T17:15:00Z",
    "github_reviewed_at": "2022-07-05T22:59:54Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-79"
    ]
}
References

Affected packages

Maven / org.jenkins-ci.plugins:embeddable-build-status

Package

Name
org.jenkins-ci.plugins:embeddable-build-status
View open source insights on deps.dev
Purl
pkg:maven/org.jenkins-ci.plugins/embeddable-build-status

Affected ranges

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

Affected versions

$%7Brevision%7D231.*

$%7Brevision%7D231.v678984136a_0b_

1.*

1.0
1.1
1.2
1.3
1.4
1.5
1.6
1.7
1.8
1.9

2.*

2.0-beta1
2.0-beta2
2.0
2.0.1
2.0.2
2.0.3