Security
Headlines
HeadlinesLatestCVEs

Headline

CVE-2021-4284: Ra 1424: escapeJs is vulnerable to XSS attacks (#51) · openmrs/openmrs-module-htmlformentryui@8119909

A vulnerability classified as problematic has been found in OpenMRS HTML Form Entry UI Framework Integration Module up to 1.x. This affects an unknown part. The manipulation leads to cross site scripting. It is possible to initiate the attack remotely. Upgrading to version 2.0.0 is able to address this issue. The name of the patch is 811990972ea07649ae33c4b56c61c3b520895f07. It is recommended to upgrade the affected component. The identifier VDB-216873 was assigned to this vulnerability.

CVE
#xss#vulnerability#js#java

@@ -8,14 +8,14 @@

<script type="text/javascript">

window.viewHtmlForm = {

encounterId: ${ encounter.id },

returnUrl: "${ ui.escapeJs(returnUrl) }",

returnUrl: "${ ui.encodeJavaScript(returnUrl) }",

htmlFormId: ${htmlForm.id}

};

var breadcrumbs = [

{ icon: "icon-home", link: ‘/’ + OPENMRS_CONTEXT_PATH + ‘/index.htm’ },

{ label: "${ ui.escapeJs(returnLabel) }", link: “${ ui.escapeJs(returnUrl) }” },

{ label: "${ ui.escapeJs(ui.message(“htmlformentryui.viewHtmlForm.breadcrumb", ui.message(ui.format(htmlForm.form)))) }” }

{ label: "${ ui.encodeJavaScript(returnLabel) }", link: “${ ui.encodeJavaScript(returnUrl) }” },

{ label: "${ ui.encodeJavaScript(ui.message(“htmlformentryui.viewHtmlForm.breadcrumb", ui.message(ui.format(htmlForm.form)))) }” }

];

</script>

CVE: Latest News

CVE-2023-50976: Transactions API Authorization by oleiman · Pull Request #14969 · redpanda-data/redpanda