Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-32103

A Stored XSS vulnerability in interface/usergroup/usergroup_admin.php in OpenEMR before 5.0.2.1 allows a admin authenticated user to inject arbitrary web script or HTML via the lname parameter.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-32103
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 05:10 UTC · Revision 1

Source evidence

CVE-2021-32103

core-osv · Original source

Published 7 May 2021, 04:15 UTC

A Stored XSS vulnerability in interface/usergroup/usergroup_admin.php in OpenEMR before 5.0.2.1 allows a admin authenticated user to inject arbitrary web script or HTML via the lname parameter.

osv:CVE-2021-32103
Complete source record
{
  "id": "7c21bbfbf5392cd62734f4d828b1659cc2bc2c24da2df09f737b5b1483f09d59",
  "url": "https://osv.dev/vulnerability/CVE-2021-32103",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-32103",
    "summary": "A Stored XSS vulnerability in interface/usergroup/usergroup_admin.php in OpenEMR before 5.0.2.1 allows a admin authenticated user to inject arbitrary web script or HTML via the lname parameter.",
    "evidence": "osv:CVE-2021-32103",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-32103",
      "aliases": [
        "CVE-2021-32103"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/openemr/openemr",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "728f4bdd4f8c729944c5544589f81374cec7c4f4"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "5.0.2.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v5_0_2_1",
            "v5_0_2",
            "v3_0_1",
            "v3_0_0",
            "v2_9_0",
            "v2_8_3",
            "v2_8_2",
            "v2_8_1",
            "v2_8_0",
            "v2_7_3-rc1",
            "v2_7_2",
            "v2_7_2-rc2",
            "v2_7_2-rc1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-32103.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:25.326091024Z",
      "provider": "osv",
      "references": [
        "https://blog.sonarsource.com/openemr-5-0-2-1-command-injection-vulnerability",
        "https://community.open-emr.org/t/openemr-5-0-2-patch-5-has-been-released/15431",
        "https://community.sonarsource.com/t/openemr-5-0-2-1-command-injection-vulnerability-puts-health-records-at-risk/33592",
        "https://portswigger.net/daily-swig/healthcare-security-openemr-fixes-serious-flaws-that-lead-to-command-execution-in-patient-portal"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-32103",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 431334,
  "published_at": "2021-05-07T04:15:07.46+00:00"
}