# CVE-2022-4727: OpenMRS Appointment Scheduling Module Notes AppointmentRequest.java getNotes cross site scripting

- Severity: Low 3.5 (CVSS:3.1, scored by VulDB) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/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.99%, higher than 63% of CVEs (2026-12-01)
- Published: 2022-12-24T00:00:00.000Z
- Modified: 2026-06-17T05:21:40.057Z
- Weaknesses: CWE-79, CWE-707
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: VulDB

## Description

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.

(As written by CVE List.)

## Affected

- OpenMRS Appointment Scheduling Module: 1.0; 1.1; 1.2; 1.3; 1.4; 1.5; 1.6; 1.7; 1.8; 1.9; 1.10; 1.11; and 5 more
- openmrs appointment_scheduling_module: before 1.17.0

## Every score

- VulDB: CVSS:3.1 3.5 Low `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/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`

## References

- <https://github.com/openmrs/openmrs-module-appointmentscheduling/pull/39> (patch, third-party-advisory)
- <https://github.com/openmrs/openmrs-module-appointmentscheduling/releases/tag/1.17.0> (release-notes, third-party-advisory)
- <https://github.com/openmrs/openmrs-module-appointmentscheduling/commit/2ccbe39c020809765de41eeb8ee4c70b5ec49cc8> (patch, third-party-advisory)
- <https://vuldb.com/?id.216741> (third-party-advisory)

## Sources

- CVE List: [CVE-2022-4727](https://www.cve.org/CVERecord?id=CVE-2022-4727), CVE Terms of Use, modified 2025-04-10
- NVD: [CVE-2022-4727](https://nvd.nist.gov/vuln/detail/CVE-2022-4727), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-4727 · Whole record: https://cve.day/CVE-2022-4727.json · Rebuilt by cve.day 2026-11-25T22:58:17.894Z
