Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2022-38901

A Cross-site scripting (XSS) vulnerability in the Document and Media module - file upload functionality in Liferay Digital Experience Platform 7.3.10 SP3 allows remote attackers to inject arbitrary JS script or HTML into the description field of uploaded svg file.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-38901
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 20:47 UTC · Revision 1

Source evidence

CVE-2022-38901

core-osv · Original source

Published 19 Oct 2022, 00:00 UTC

A Cross-site scripting (XSS) vulnerability in the Document and Media module - file upload functionality in Liferay Digital Experience Platform 7.3.10 SP3 allows remote attackers to inject arbitrary JS script or HTML into the description field of uploaded svg file.

osv:CVE-2022-38901
Complete source record
{
  "id": "87b26f67c06a5a56a89a294363a0b4c6aa971250365a5d22f53054c3dd323149",
  "url": "https://osv.dev/vulnerability/CVE-2022-38901",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2022-38901",
    "summary": "A Cross-site scripting (XSS) vulnerability in the Document and Media module - file upload functionality in Liferay Digital Experience Platform 7.3.10 SP3 allows remote attackers to inject arbitrary JS script or HTML into the description field of uploaded svg file.",
    "evidence": "osv:CVE-2022-38901",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2022-38901",
      "aliases": [
        "CVE-2022-38901"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/liferay/liferay-portal",
              "type": "GIT",
              "events": [
                {
                  "introduced": "f193301b2848899b008d51513af62a3b3a9b7888"
                },
                {
                  "last_affected": "570c245e9e6a70bac541e71e4c688401b5c779d2"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:liferay:liferay_portal:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.3.5"
                      },
                      {
                        "last_affected": "7.4.3.28"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "7.4.3.28-ga28",
            "7.4.3.7-ga7",
            "7.4.3.6-ga6",
            "7.4.3.5-ga5",
            "7.4.3.4-ga4",
            "7.4.2-ga3",
            "7.4.1-ga2",
            "7.4.0-ga1",
            "7.3.5-ga6"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-38901.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:39.328398435Z",
      "provider": "osv",
      "references": [
        "https://drive.proton.me/urls/D27RQ14NGW#b71d8XrBl2Mu",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/38xxx/CVE-2022-38901.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-38901",
        "https://www.offensity.com/en/blog/authenticated-persistent-xss-in-liferay-dxp-cms-cve-2022-38901-and-cve-2022-38902/"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/38xxx/CVE-2022-38901.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-38901",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 506850,
  "published_at": "2022-10-19T00:00:00+00:00"
}