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

- Severity: Medium 6.1 (CVSS:3.1, scored by Mend) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.86%, higher than 59% of CVEs (2026-12-01)
- Published: 2021-09-29T13:50:15.394Z
- Modified: 2026-06-17T03:42:40.713Z
- Also known as: GHSA-rwh9-8xx8-4wfm
- Weaknesses: CWE-79
- Assigned by: Mend

## 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.

(As written by CVE List.)

## Affected

- org.opencrx opencrx-core-config: from 4.0.0 before *
- org.opencrx:opencrx-core (Maven): from 4.0.0 before 5.2.0
- org.opencrx:opencrx-core-models (Maven): from 4.0.0 before 5.2.0
- org.opencrx:opencrx-core-config (Maven): from 4.0.0 before 5.2.0
- org.opencrx:opencrx-client (Maven): from 4.0.0 before 5.2.0
- org.opencrx:opencrx-gradle (Maven): from 4.0.0 before 5.2.0
- opencrx opencrx: from 4.0.0 up to 5.1.0

## Every score

- Mend: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25959> (tool-signature, web)
- <https://github.com/opencrx/opencrx/commit/14e75f95e5f56fbe7ee897bdf5d858788072e818> (patch, tool-signature, web)
- <https://github.com/opencrx/opencrx> (package)

## Sources

- CVE List: [CVE-2021-25959](https://www.cve.org/CVERecord?id=CVE-2021-25959), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-rwh9-8xx8-4wfm](https://github.com/advisories/GHSA-rwh9-8xx8-4wfm), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-25959](https://nvd.nist.gov/vuln/detail/CVE-2021-25959), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-25959 · Whole record: https://cve.day/CVE-2021-25959.json · Rebuilt by cve.day 2026-11-25T22:58:04.206Z
