# CVE-2022-25185: Stored XSS vulnerability in Jenkins Generic Webhook Trigger Plugin

Source: https://junglewise.ai/threats/cve-2022-25185-stored-xss-vulnerability-in-jenkins-generic-webhook-trigger  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-02-16  
License: CC BY 4.0 with a link back

CVE-2022-25185 · Severity: low · CVSS 3.1 · Published 2022-02-16

Stored XSS vulnerability in Jenkins Generic Webhook Trigger Plugin

Technologies: [org.jenkins-ci.plugins:generic-webhook-trigger (Maven)](https://junglewise.ai/threats/technologies/org-jenkins-ci-plugins-generic-webhook-trigger). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2022-25185 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-25185 being exploited in the wild.

**How severe is CVE-2022-25185?** Low severity, with a CVSS score of 3.1, published 16 February 2022.

**Which products and versions are affected?** org.jenkins-ci.plugins:generic-webhook-trigger (Maven) ECOSYSTEM:introduced=0,fixed=1.82.

**Is there a fix for CVE-2022-25185?** Yes. org.jenkins-ci.plugins:generic-webhook-trigger (Maven): upgrade to 1.82 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-25185?** Check whether you run org.jenkins-ci.plugins:generic-webhook-trigger (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.jenkins-ci.plugins:generic-webhook-trigger (Maven): upgrade to 1.82 or later

  ```sh
  # set org.jenkins-ci.plugins:generic-webhook-trigger to 1.82 in your pom.xml or build.gradle
  ```


## Affected products

- org.jenkins-ci.plugins:generic-webhook-trigger (Maven) ECOSYSTEM:introduced=0,fixed=1.82

## Identifiers

- CVE-2022-25185
- GHSA-qqwx-hcp6-25vr

## Related threats

- [Non-constant time webhook token comparison in Jenkins Generic Webhook Trigger Plugin](https://junglewise.ai/threats/cve-2022-43412-non-constant-time-webhook-token-comparison-in-jenkins-generic)
- [XXE vulnerability in Jenkins Generic Webhook Trigger Plugin](https://junglewise.ai/threats/cve-2021-21669-xxe-vulnerability-in-jenkins-generic-webhook-trigger-plugin)
