ADVISORIES

GitHub Advisory Database

GHSA-7q9r-vhg2-789w

Stored XSS vulnerability in Jenkins brakeman Plugin

Moderate CVE-2020-2122

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.

Affected packages

EcosystemPackageAffected versions
Mavenorg.jenkins-ci.plugins:brakeman
All versions before 0.13 (fixed in 0.13)

References