{"id":"CVE-2021-25959","aliases":["EUVD-2021-2111","GHSA-rwh9-8xx8-4wfm"],"status":"published","title":"OpenCRX - Reflected Cross-Site Scripting in Password Reset Functionality","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.","severity":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00865,"percentile":0.58961,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2021-09-29T13:50:15Z","modified":"2026-10-20T14:17:24Z","fixes":[{"ecosystem":"Maven","package":"org.opencrx:opencrx-core","fixed_in":["5.2.0"],"sources":["ghsa","osv"]},{"ecosystem":"Maven","package":"org.opencrx:opencrx-core-models","fixed_in":["5.2.0"],"sources":["ghsa","osv"]},{"ecosystem":"Maven","package":"org.opencrx:opencrx-core-config","fixed_in":["5.2.0"],"sources":["ghsa","osv"]},{"ecosystem":"Maven","package":"org.opencrx:opencrx-client","fixed_in":["5.2.0"],"sources":["ghsa","osv"]},{"ecosystem":"Maven","package":"org.opencrx:opencrx-gradle","fixed_in":["5.2.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.opencrx:opencrx-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"5.2.0"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.opencrx:opencrx-core-models","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"5.2.0"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.opencrx:opencrx-core-config","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"5.2.0"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.opencrx:opencrx-client","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"5.2.0"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.opencrx:opencrx-gradle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"5.2.0"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.opencrx:opencrx-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"5.2.0"}]}],"versions":["4.3-alpha-1","4.3-alpha-10","4.3-alpha-11","4.3-alpha-2","4.3-alpha-3","4.3-alpha-4","4.3-alpha-5","4.3-alpha-6","4.3-alpha-7","4.3-alpha-8","4.3-alpha-9","4.3.0","5.0.0","5.0.1","5.1.0"]},{"source":"osv","ecosystem":"Maven","package":"org.opencrx:opencrx-core-models","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"5.2.0"}]}],"versions":["4.3-alpha-10","4.3-alpha-11","4.3-alpha-9","4.3.0","5.0.0","5.0.1","5.1.0"]},{"source":"osv","ecosystem":"Maven","package":"org.opencrx:opencrx-core-config","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"5.2.0"}]}],"versions":["4.3.0","5.0.0","5.0.1","5.1.0"]},{"source":"osv","ecosystem":"Maven","package":"org.opencrx:opencrx-client","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"5.2.0"}]}],"versions":["4.3-alpha-1","4.3-alpha-10","4.3-alpha-11","4.3-alpha-2","4.3-alpha-3","4.3-alpha-4","4.3-alpha-5","4.3-alpha-6","4.3-alpha-7","4.3-alpha-8","4.3-alpha-9","4.3.0","5.0.0","5.0.1","5.1.0"]},{"source":"osv","ecosystem":"Maven","package":"org.opencrx:opencrx-gradle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"5.2.0"}]}],"versions":["4.3-alpha-1","4.3-alpha-10","4.3-alpha-11","4.3-alpha-2","4.3-alpha-3","4.3-alpha-4","4.3-alpha-5","4.3-alpha-6","4.3-alpha-7","4.3-alpha-8","4.3-alpha-9","4.3.0","5.0.0","5.0.1","5.1.0"]}],"products":[{"vendor":"opencrx","product":"opencrx"},{"vendor":"org.opencrx","product":"opencrx-core-config"}],"references":[{"url":"https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25959","tags":["x_refsource_MISC","x_transferred","Tool Signature","web"]},{"url":"https://github.com/opencrx/opencrx/commit/14e75f95e5f56fbe7ee897bdf5d858788072e818","tags":["x_refsource_MISC","x_transferred","Patch","Tool Signature","fix","web"]},{"url":"https://github.com/advisories/GHSA-rwh9-8xx8-4wfm"},{"url":"https://github.com/opencrx/opencrx","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-25959","title":"OpenCRX - Reflected Cross-Site Scripting in Password Reset Functionality","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.","status":"published","published":"2021-09-29T13:50:15.394Z","modified":"2024-09-16T19:24:15.717Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:32:59.802172Z"}],"euvd":[{"id":"EUVD-2021-2111","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.","status":"published","published":"2021-09-29T13:50:15Z","modified":"2024-09-16T19:24:15Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-03T00:55:23.186812Z"}],"ghsa":[{"id":"GHSA-rwh9-8xx8-4wfm","title":"Cross-site Scripting in OpenCRX","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.","status":"published","published":"2021-09-30T20:50:21Z","modified":"2023-02-01T05:06:20Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:38.281533Z"}],"nvd":[{"id":"CVE-2021-25959","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.","status":"published","published":"2021-09-29T14:15:07.62Z","modified":"2026-06-17T03:42:40.713Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:06:59.314106Z"}],"osv":[{"id":"CVE-2021-25959","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.","status":"published","published":"2021-09-29T14:15:07.62Z","modified":"2026-10-20T14:17:24.872842627Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:18.778776Z"},{"id":"GHSA-rwh9-8xx8-4wfm","title":"Cross-site Scripting in OpenCRX","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.","status":"published","published":"2021-09-30T20:50:21Z","modified":"2023-11-08T04:05:18.754601Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:56.281047Z"}]}}
