PT-2022-11734 · Openmrs · Openmrs
The-Lady
·
Published
2022-12-27
·
Updated
2024-05-17
·
CVE-2021-4289
CVSS v3.1
6.1
Medium
| Vector | AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
OpenMRS openmrs-module-referenceapplication versions up to 2.11.x
Description
A vulnerability was found in the function
post of the file omod/src/main/java/org/openmrs/module/referenceapplication/page/controller/UserAppPageController.java of the component User App Page. The manipulation of the argument AppId leads to cross-site scripting. The attack can be launched remotely. Upgrading to version 2.12.0 is able to address this issue.Recommendations
For OpenMRS openmrs-module-referenceapplication versions up to 2.11.x, upgrade to version 2.12.0 to address the issue. As a temporary workaround, consider restricting access to the
UserAppPageController.java file or disabling the post function until the upgrade is applied. Avoid using the AppId argument in the affected component until the issue is resolved.Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Openmrs