Security advisory
The Reporting Compatibility Add On before 2.0.4 for OpenMRS, as distributed in OpenMRS Reference Application before 2.6.1, does not authenticate users when deserializing XML input into ReportSchema objects. The result is that remote unauthenticated users are able to execute operating system commands by crafting malicious XML payloads, as demonstrated by a single admin/reports/reportSchemaXml.form request.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2017-12796
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 07:45 UTC · Revision 1
Source evidence
The Reporting Compatibility Add On before 2.0.4 for OpenMRS, as distributed in OpenMRS Reference Application before 2.6.1, does not authenticate users when deserializing XML input into ReportSchema objects. The result is that remote unauthenticated users are able to execute operating system commands by crafting malicious XML payloads, as demonstrated by a single admin/reports/reportSchemaXml.form request.
osv:CVE-2017-12796
Complete source record
{
"id": "5c48729c839641079488fb72bd7e675a36b6eac23004049dd7d166f8d6a25afc",
"url": "https://osv.dev/vulnerability/CVE-2017-12796",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2017-12796",
"summary": "The Reporting Compatibility Add On before 2.0.4 for OpenMRS, as distributed in OpenMRS Reference Application before 2.6.1, does not authenticate users when deserializing XML input into ReportSchema objects. The result is that remote unauthenticated users are able to execute operating system commands by crafting malicious XML payloads, as demonstrated by a single admin/reports/reportSchemaXml.form request.",
"evidence": "osv:CVE-2017-12796",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2017-12796",
"aliases": [
"CVE-2017-12796"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/openmrs/openmrs-core",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "0b8ae6299f65159fe7d9b06a6c679834378d31b8"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:openmrs:openmrs:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.6.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"2.6.0",
"2.6.0-beta",
"2.4.0-alpha",
"2.2.0-20181112.082045-243",
"1.3.0-RC4",
"1.3.0-RC3",
"1.3.0-RC2",
"1.3.0-RC1",
"1.2.01-RC1",
"1.2.01",
"1.2.0",
"1.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-12796.json"
}
}
],
"modified": "2026-10-24T10:30:57.923883510Z",
"provider": "osv",
"references": [
"https://talk.openmrs.org/t/critical-security-advisory-2017-09-12/13291",
"https://wiki.openmrs.org/display/RES/Release+Notes+2.6.1",
"https://isears.github.io/jekyll/update/2017/10/21/openmrs-rce.html"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2017-12796",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 438961,
"published_at": "2017-10-23T04:29:00.21+00:00"
}