CVE-2021-25959

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-25959
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-25959.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-25959
Aliases
Published
2021-09-29T14:15:07.620Z
Modified
2025-11-14T11:31:48.095513Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/opencrx/opencrx

Affected ranges

Type
GIT
Repo
https://github.com/opencrx/opencrx
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

opencrx-v4.*

opencrx-v4.0.0
opencrx-v4.1.0
opencrx-v4.2.0
opencrx-v4.3.0
opencrx-v4.3.0-rc.1

opencrx-v5.*

opencrx-v5.0-20200714
opencrx-v5.0-20200715
opencrx-v5.0-20200717
opencrx-v5.0-20200904
opencrx-v5.0.0
opencrx-v5.0.1
opencrx-v5.1.0

Database specific

vanir_signatures

[
    {
        "id": "CVE-2021-25959-3d12a421",
        "source": "https://github.com/opencrx/opencrx/commit/14e75f95e5f56fbe7ee897bdf5d858788072e818",
        "target": {
            "function": "copyDb",
            "file": "core/src/main/java/org/opencrx/kernel/tools/CopyDb.java"
        },
        "signature_version": "v1",
        "deprecated": false,
        "digest": {
            "function_hash": "299926449566693712240401486120705060548",
            "length": 1272.0
        },
        "signature_type": "Function"
    },
    {
        "id": "CVE-2021-25959-79065f0e",
        "source": "https://github.com/opencrx/opencrx/commit/14e75f95e5f56fbe7ee897bdf5d858788072e818",
        "target": {
            "function": "copyDbObject",
            "file": "core/src/main/java/org/opencrx/kernel/tools/CopyDb.java"
        },
        "signature_version": "v1",
        "deprecated": false,
        "digest": {
            "function_hash": "153014618847153202251050346306638867562",
            "length": 3727.0
        },
        "signature_type": "Function"
    },
    {
        "id": "CVE-2021-25959-a522a2d6",
        "source": "https://github.com/opencrx/opencrx/commit/14e75f95e5f56fbe7ee897bdf5d858788072e818",
        "target": {
            "file": "core/src/main/java/org/opencrx/kernel/tools/CopyDb.java"
        },
        "signature_version": "v1",
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "252974067760682639526069339914185005060",
                "67307008562535689517234536862088945489",
                "219511582486534768945373860123843421775",
                "157950679091514196060976590044903556173",
                "283744227869885296625868921359126648981",
                "173950007691500410815011086662779563699",
                "183425582796188218942433615138051562480",
                "268199670166582995169337558919550266166"
            ],
            "threshold": 0.9
        },
        "signature_type": "Line"
    }
]