GHSA-h8hf-hxx6-5g6v

Suggest an improvement
Source
https://github.com/advisories/GHSA-h8hf-hxx6-5g6v
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/11/GHSA-h8hf-hxx6-5g6v/GHSA-h8hf-hxx6-5g6v.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-h8hf-hxx6-5g6v
Aliases
  • CVE-2022-45382
Published
2022-11-16T12:00:22Z
Modified
2024-02-16T08:22:21.950784Z
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
Cross-site Scripting in Jenkins Naginator Plugin
Details

Naginator Plugin 1.18.1 and earlier does not escape display names of source builds in builds that were triggered via Retry action.

This results in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to edit build display names.

Naginator Plugin 1.18.2 escapes display names of source builds.

Database specific
{
    "nvd_published_at": "2022-11-15T20:15:00Z",
    "cwe_ids": [
        "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2022-11-21T22:21:26Z"
}
References

Affected packages

Maven / org.jenkins-ci.plugins:naginator

Package

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

Affected ranges

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

Affected versions

1.*

1.6.1
1.7
1.8
1.9
1.10
1.11
1.12
1.13
1.14
1.15
1.16-alpha-1
1.16
1.16.1
1.17
1.17.1
1.17.2
1.18
1.18.1

Database specific

{
    "last_known_affected_version_range": "<= 1.18.1"
}