{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "state": "PUBLISHED",
        "cveId": "CVE-2022-4727",
        "assignerOrgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
        "assignerShortName": "VulDB",
        "dateUpdated": "2024-08-03T01:48:40.380Z",
        "dateReserved": "2022-12-24T00:00:00",
        "datePublished": "2022-12-24T00:00:00"
    },
    "containers": {
        "cna": {
            "title": "OpenMRS Appointment Scheduling Module Notes AppointmentRequest.java getNotes cross site scripting",
            "providerMetadata": {
                "orgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
                "shortName": "VulDB",
                "dateUpdated": "2022-12-24T00:00:00"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "A vulnerability, which was classified as problematic, was found in OpenMRS Appointment Scheduling Module up to 1.16.x. This affects the function getNotes of the file api/src/main/java/org/openmrs/module/appointmentscheduling/AppointmentRequest.java of the component Notes Handler. The manipulation of the argument notes leads to cross site scripting. It is possible to initiate the attack remotely. Upgrading to version 1.17.0 is able to address this issue. The name of the patch is 2ccbe39c020809765de41eeb8ee4c70b5ec49cc8. It is recommended to upgrade the affected component. The identifier VDB-216741 was assigned to this vulnerability."
                }
            ],
            "affected": [
                {
                    "vendor": "OpenMRS",
                    "product": "Appointment Scheduling Module",
                    "versions": [
                        {
                            "version": "1.0",
                            "status": "affected"
                        },
                        {
                            "version": "1.1",
                            "status": "affected"
                        },
                        {
                            "version": "1.2",
                            "status": "affected"
                        },
                        {
                            "version": "1.3",
                            "status": "affected"
                        },
                        {
                            "version": "1.4",
                            "status": "affected"
                        },
                        {
                            "version": "1.5",
                            "status": "affected"
                        },
                        {
                            "version": "1.6",
                            "status": "affected"
                        },
                        {
                            "version": "1.7",
                            "status": "affected"
                        },
                        {
                            "version": "1.8",
                            "status": "affected"
                        },
                        {
                            "version": "1.9",
                            "status": "affected"
                        },
                        {
                            "version": "1.10",
                            "status": "affected"
                        },
                        {
                            "version": "1.11",
                            "status": "affected"
                        },
                        {
                            "version": "1.12",
                            "status": "affected"
                        },
                        {
                            "version": "1.13",
                            "status": "affected"
                        },
                        {
                            "version": "1.14",
                            "status": "affected"
                        },
                        {
                            "version": "1.15",
                            "status": "affected"
                        },
                        {
                            "version": "1.16",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://github.com/openmrs/openmrs-module-appointmentscheduling/pull/39"
                },
                {
                    "url": "https://github.com/openmrs/openmrs-module-appointmentscheduling/releases/tag/1.17.0"
                },
                {
                    "url": "https://github.com/openmrs/openmrs-module-appointmentscheduling/commit/2ccbe39c020809765de41eeb8ee4c70b5ec49cc8"
                },
                {
                    "url": "https://vuldb.com/?id.216741"
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N",
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "privilegesRequired": "LOW",
                        "userInteraction": "REQUIRED",
                        "scope": "UNCHANGED",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "LOW",
                        "availabilityImpact": "NONE",
                        "baseScore": 3.5,
                        "baseSeverity": "LOW"
                    }
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "CWE",
                            "lang": "en",
                            "description": "CWE-707 Improper Neutralization -> CWE-74 Injection -> CWE-79 Cross Site Scripting",
                            "cweId": "CWE-707"
                        }
                    ]
                }
            ],
            "x_generator": "vuldb.com"
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-03T01:48:40.380Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://github.com/openmrs/openmrs-module-appointmentscheduling/pull/39",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://github.com/openmrs/openmrs-module-appointmentscheduling/releases/tag/1.17.0",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://github.com/openmrs/openmrs-module-appointmentscheduling/commit/2ccbe39c020809765de41eeb8ee4c70b5ec49cc8",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://vuldb.com/?id.216741",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}