{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:liferay:liferay_portal:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "7.4.3.4"
              },
              {
                "fixed": "7.4.3.37"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "6f67c755b09761bc6b98ea21ec63218f7f803efe"
            }
          ],
          "repo": "https://github.com/liferay/liferay-portal",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/42xxx/CVE-2022-42115.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "7.4.3.4"
          },
          {
            "fixed": "7.4.3.36"
          }
        ],
        "source": "DESCRIPTION"
      }
    ]
  },
  "details": "Cross-site scripting (XSS) vulnerability in the Object module's edit object details page in Liferay Portal 7.4.3.4 through 7.4.3.36 allows remote attackers to inject arbitrary web script or HTML via a crafted payload injected into the object field's `Label` text field.",
  "id": "CVE-2022-42115",
  "modified": "2026-07-15T01:48:53.309763691Z",
  "published": "2022-10-18T00:00:00Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-42115"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/42xxx/CVE-2022-42115.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-42115"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}