High

Jenkins Warnings Next Generation Plugin cross-site request forgery vulnerability

  • Disclosed: 13.05.2022
  • Updated: 11.10.2026 11:21

Jenkins Warnings Next Generation Plugin has a form validation HTTP endpoint used to validate a Groovy script through compilation, which was not subject to sandbox protection. The endpoint checked for the Overall/RunScripts permission, but did not require POST requests, so it was vulnerable to cross-site request forgery (CSRF). This allowed attackers to execute arbitrary code on the Jenkins controller by applying AST transforming annotations such as @Grab to source code elements.

The affected HTTP endpoint now applies a safe Groovy compiler configuration preventing the use of unsafe AST transforming annotations. Additionally, the form validation HTTP endpoint now requires that requests be sent via POST to prevent CSRF.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) io.jenkins.plugins:warnings-ng <= 2.1.1 no fix

References

CVSS score 8.8/10
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-352
Platform
Java / Kotlin (Maven)
Package
io.jenkins.plugins:warnings-ng
Disclosed
13.05.2022
Updated
11.10.2026 11:21

Sources and licenses

OSV / GitHub Advisory Database - GHSA-whf8-3h58-2w9f - CC BY 4.0

Vulnerability history: io.jenkins.plugins:warnings-ng

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
7
First → latest
01.2022 10.2023
Without a fix
1
Exploited in attacks
0

Severity breakdown

  • High 2
  • Medium 5

Disclosures per year

  1. 2022: 6
  2. 2023: 1
  3. 2024: 0
  4. 2025: 0
  5. 2026: 0
  1. Medium · 4.3 CVE-2023-46651 >= 10.5.0, < 10.5.1, < 10.4.1 10.5.1, 10.4.1
  2. Medium · 5.4 CVE-2019-10325 < 5.1.0 5.1.0
  3. Medium · 4.3 CVE-2019-10326 < 5.1.0 5.1.0
  4. Jenkins Warnings Next Generation Plugin cross-site request forgery vulnerability this entry
    High · 8.8 CVE-2019-1003008 <= 2.1.1 no fix
  5. Medium · 6.1 CVE-2019-1003023 < 2.0.0 2.0.0
  6. High · 8.1 CVE-2022-23107 >= 9.8.0, < 9.10.3, >= 9.6.0, < 9.7.1, >= 9.1.0, < 9.5.2, < 9.0.2 9.10.3, 9.7.1, 9.5.2, 9.0.2

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.