Jenkins Git Parameter Plugin implements a choice build parameter that lists the configured Git SCM’s branches, tags, pull requests, and revisions.
Git Parameter Plugin 439.vb0e46ca14534 and earlier does not validate that the Git parameter value submitted to the build matches one of the offered choices.
This allows attackers with Item/Build permission to inject arbitrary values into Git parameters.
Git Parameter Plugin 444.vcab84d3703c2 validates that the Git parameter value submitted to the build matches one of the offered choices.
{
"github_reviewed_at": "2025-07-09T20:47:01Z",
"nvd_published_at": "2025-07-09T16:15:24Z",
"severity": "MODERATE",
"cwe_ids": [
"CWE-1287",
"CWE-20"
],
"github_reviewed": true
}