GHSA-7q9r-vhg2-789w

Suggest an improvement
Source
https://github.com/advisories/GHSA-7q9r-vhg2-789w
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-7q9r-vhg2-789w/GHSA-7q9r-vhg2-789w.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-7q9r-vhg2-789w
Aliases
Published
2022-05-24T17:08:47Z
Modified
2023-11-01T04:52:19.043195Z
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
Stored XSS vulnerability in Jenkins brakeman Plugin
Details

brakeman Plugin 0.12 and earlier did not escape values received from parsed JSON files when rendering them, resulting in a stored cross-site scripting vulnerability.

This vulnerability can be exploited by users able to control the Brakeman post-build step input data.\n\nbrakeman Plugin 0.13 escape affected values from the parsed file as they are recorded.

This fix is only applied to newly recorded data after a fixed version of the plugin is installed; historical data may still contain unsafe values.

Database specific
{
    "nvd_published_at": "2020-02-12T15:15:00Z",
    "github_reviewed_at": "2023-01-14T05:27:43Z",
    "severity": "MODERATE",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-79"
    ]
}
References

Affected packages

Maven / org.jenkins-ci.plugins:brakeman

Package

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

Affected ranges

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