# CVE-2021-25959: Cross-site Scripting in OpenCRX

Source: https://junglewise.ai/threats/cve-2021-25959-cross-site-scripting-in-opencrx  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2021-09-30  
License: CC BY 4.0 with a link back

CVE-2021-25959 · Severity: low · CVSS 3.1 · Published 2021-09-30

Cross-site Scripting in OpenCRX

Technologies: [org.opencrx:opencrx-client (Maven)](https://junglewise.ai/threats/technologies/org-opencrx-opencrx-client), [org.opencrx:opencrx-core-models (Maven)](https://junglewise.ai/threats/technologies/org-opencrx-opencrx-core-models). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

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

**How severe is CVE-2021-25959?** Low severity, with a CVSS score of 3.1, published 30 September 2021.

**Which products and versions are affected?** org.opencrx:opencrx-client (Maven) ECOSYSTEM:introduced=4.0.0,fixed=5.2.0; org.opencrx:opencrx-core (Maven) ECOSYSTEM:introduced=4.0.0,fixed=5.2.0; org.opencrx:opencrx-core-config (Maven) ECOSYSTEM:introduced=4.0.0,fixed=5.2.0; org.opencrx:opencrx-core-models (Maven) ECOSYSTEM:introduced=4.0.0,fixed=5.2.0; and 1 more.

**Is there a fix for CVE-2021-25959?** Yes. org.opencrx:opencrx-client (Maven): upgrade to 5.2.0 or later; org.opencrx:opencrx-core (Maven): upgrade to 5.2.0 or later; org.opencrx:opencrx-core-config (Maven): upgrade to 5.2.0 or later; org.opencrx:opencrx-core-models (Maven): upgrade to 5.2.0 or later; org.opencrx:opencrx-gradle (Maven): upgrade to 5.2.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2021-25959?** Check whether you run org.opencrx:opencrx-client (Maven), org.opencrx:opencrx-core (Maven), org.opencrx:opencrx-core-config (Maven) or one of the others listed 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.opencrx:opencrx-client (Maven): upgrade to 5.2.0 or later

  ```sh
  # set org.opencrx:opencrx-client to 5.2.0 in your pom.xml or build.gradle
  ```

- org.opencrx:opencrx-core (Maven): upgrade to 5.2.0 or later

  ```sh
  # set org.opencrx:opencrx-core to 5.2.0 in your pom.xml or build.gradle
  ```

- org.opencrx:opencrx-core-config (Maven): upgrade to 5.2.0 or later

  ```sh
  # set org.opencrx:opencrx-core-config to 5.2.0 in your pom.xml or build.gradle
  ```

- org.opencrx:opencrx-core-models (Maven): upgrade to 5.2.0 or later

  ```sh
  # set org.opencrx:opencrx-core-models to 5.2.0 in your pom.xml or build.gradle
  ```

- org.opencrx:opencrx-gradle (Maven): upgrade to 5.2.0 or later

  ```sh
  # set org.opencrx:opencrx-gradle to 5.2.0 in your pom.xml or build.gradle
  ```


## Affected products

- org.opencrx:opencrx-client (Maven) ECOSYSTEM:introduced=4.0.0,fixed=5.2.0
- org.opencrx:opencrx-core (Maven) ECOSYSTEM:introduced=4.0.0,fixed=5.2.0
- org.opencrx:opencrx-core-config (Maven) ECOSYSTEM:introduced=4.0.0,fixed=5.2.0
- org.opencrx:opencrx-core-models (Maven) ECOSYSTEM:introduced=4.0.0,fixed=5.2.0
- org.opencrx:opencrx-gradle (Maven) ECOSYSTEM:introduced=4.0.0,fixed=5.2.0

## Identifiers

- CVE-2021-25959
- GHSA-rwh9-8xx8-4wfm

## Related threats

- [OpenCRX Cross-site Scripting vulnerability](https://junglewise.ai/threats/cve-2023-27150-opencrx-cross-site-scripting-vulnerability)
- [Cross-site Scripting in OpenCRX](https://junglewise.ai/threats/cve-2023-40815-cross-site-scripting-in-opencrx)
- [Cross-site Scripting in OpenCRX](https://junglewise.ai/threats/cve-2023-40816-cross-site-scripting-in-opencrx)
- [Cross-site Scripting in OpenCRX](https://junglewise.ai/threats/cve-2023-40814-cross-site-scripting-in-opencrx)
- [Cross-site Scripting in OpenCRX](https://junglewise.ai/threats/cve-2023-40813-cross-site-scripting-in-opencrx)
