Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-25959

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-25959
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:42 UTC · Revision 1

Source evidence

CVE-2021-25959

core-osv · Original source

Published 29 Sept 2021, 14:15 UTC

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.

osv:CVE-2021-25959
Complete source record
{
  "id": "3258f8f81f2269ed0b7f4037854de32795b77f97d3f3c1b81d9a3ba0246a6cbc",
  "url": "https://osv.dev/vulnerability/CVE-2021-25959",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-25959",
    "summary": "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.",
    "evidence": "osv:CVE-2021-25959",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-25959",
      "aliases": [
        "CVE-2021-25959",
        "GHSA-rwh9-8xx8-4wfm"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/opencrx/opencrx",
              "type": "GIT",
              "events": [
                {
                  "introduced": "b78f2e7527fa15fd86ac35e66048293e7bc112c1"
                },
                {
                  "last_affected": "7e4f0c4c1238c7bf6c6d38c68a8f4db17bdb53c5"
                },
                {
                  "fixed": "14e75f95e5f56fbe7ee897bdf5d858788072e818"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:opencrx:opencrx:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.0.0"
                      },
                      {
                        "last_affected": "5.1.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "14e75f95e5f56fbe7ee897bdf5d858788072e818"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "opencrx-v5.1.0",
            "opencrx-v5.0.1",
            "opencrx-v5.0.0",
            "opencrx-v5.0-20200904",
            "opencrx-v5.0-20200717",
            "opencrx-v5.0-20200715",
            "opencrx-v5.0-20200714",
            "opencrx-v4.3.0",
            "opencrx-v4.3.0-rc.1",
            "opencrx-v4.2.0",
            "opencrx-v4.1.0",
            "opencrx-v4.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-25959.json",
            "vanir_signatures": [
              {
                "id": "CVE-2021-25959-3d12a421",
                "digest": {
                  "length": 1272,
                  "function_hash": "299926449566693712240401486120705060548"
                },
                "source": "https://github.com/opencrx/opencrx/commit/14e75f95e5f56fbe7ee897bdf5d858788072e818",
                "target": {
                  "file": "core/src/main/java/org/opencrx/kernel/tools/CopyDb.java",
                  "function": "copyDb"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-25959-79065f0e",
                "digest": {
                  "length": 3727,
                  "function_hash": "153014618847153202251050346306638867562"
                },
                "source": "https://github.com/opencrx/opencrx/commit/14e75f95e5f56fbe7ee897bdf5d858788072e818",
                "target": {
                  "file": "core/src/main/java/org/opencrx/kernel/tools/CopyDb.java",
                  "function": "copyDbObject"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-25959-a522a2d6",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "252974067760682639526069339914185005060",
                    "67307008562535689517234536862088945489",
                    "219511582486534768945373860123843421775",
                    "157950679091514196060976590044903556173",
                    "283744227869885296625868921359126648981",
                    "173950007691500410815011086662779563699",
                    "183425582796188218942433615138051562480",
                    "268199670166582995169337558919550266166"
                  ]
                },
                "source": "https://github.com/opencrx/opencrx/commit/14e75f95e5f56fbe7ee897bdf5d858788072e818",
                "target": {
                  "file": "core/src/main/java/org/opencrx/kernel/tools/CopyDb.java"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T14:17:24Z"
          }
        }
      ],
      "modified": "2026-10-20T14:17:24.872842627Z",
      "provider": "osv",
      "references": [
        "https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25959",
        "https://github.com/opencrx/opencrx/commit/14e75f95e5f56fbe7ee897bdf5d858788072e818"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-25959",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 388785,
  "published_at": "2021-09-29T14:15:07.62+00:00"
}