Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2025-43781

Reflected cross-site scripting (XSS) vulnerability in Liferay Portal 7.4.3.110 through 7.4.3.128, and Liferay DXP 2024.Q3.1 through 2024.Q3.8, 2024.Q2.0 through 2024.Q2.13 and 2024.Q1.1 through 2024.Q1.12 allows remote attackers to inject arbitrary web script or HTML via the URL in search bar portlet

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-43781
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 09:27 UTC · Revision 1

Source evidence

CVE-2025-43781

core-osv · Original source

Published 9 Sept 2025, 19:15 UTC

Reflected cross-site scripting (XSS) vulnerability in Liferay Portal 7.4.3.110 through 7.4.3.128, and Liferay DXP 2024.Q3.1 through 2024.Q3.8, 2024.Q2.0 through 2024.Q2.13 and 2024.Q1.1 through 2024.Q1.12 allows remote attackers to inject arbitrary web script or HTML via the URL in search bar portlet

osv:CVE-2025-43781
Complete source record
{
  "id": "3761c1a60b6eb37ddc3be3f2181a893ba83aa987d4d66d1d9b736541f6676bce",
  "url": "https://osv.dev/vulnerability/CVE-2025-43781",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2025-43781",
    "summary": "Reflected cross-site scripting (XSS) vulnerability in Liferay Portal 7.4.3.110 through 7.4.3.128, and Liferay DXP 2024.Q3.1 through 2024.Q3.8, 2024.Q2.0 through 2024.Q2.13 and 2024.Q1.1 through 2024.Q1.12 allows remote attackers to inject arbitrary web script or HTML via the URL in search bar portlet",
    "evidence": "osv:CVE-2025-43781",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-43781",
      "aliases": [
        "CVE-2025-43781",
        "GHSA-x5fw-8xgx-q6c9"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/liferay/liferay-portal",
              "type": "GIT",
              "events": [
                {
                  "introduced": "ec84d86679146b84af526f96471a730c340dda78"
                },
                {
                  "fixed": "9bc3ecc0e54e74532403f3b281d3d542e95babd8"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:liferay:liferay_portal:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.4.0"
                      },
                      {
                        "fixed": "7.4.3.129"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "7.4.3.88-ga88",
            "7.4.3.41-ga41",
            "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"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-43781.json",
            "vanir_signatures": [
              {
                "id": "CVE-2025-43781-89cd59f6",
                "digest": {
                  "length": 304,
                  "function_hash": "57115968376390560967885530032985434205"
                },
                "source": "https://github.com/liferay/liferay-portal/commit/9bc3ecc0e54e74532403f3b281d3d542e95babd8",
                "target": {
                  "file": "modules/apps/dynamic-data-mapping/dynamic-data-mapping-test/src/testIntegration/java/com/liferay/dynamic/data/mapping/internal/upgrade/v5_6_1/test/DDMFieldAttributeUpgradeProcessTest.java",
                  "function": "testUpgradeProcess"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2025-43781-ee25579f",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "179772675958613422767713377468908871682",
                    "244399705317510526091317168555219523761",
                    "132569019723834552443776610039766080788",
                    "32054084799560152186930759783497281023",
                    "234529184054465291764936572438166749093",
                    "78377685304783572495740352849876029142",
                    "134663871138638082137858968838889813557",
                    "7936592204798143019898109296741974255"
                  ]
                },
                "source": "https://github.com/liferay/liferay-portal/commit/9bc3ecc0e54e74532403f3b281d3d542e95babd8",
                "target": {
                  "file": "modules/apps/dynamic-data-mapping/dynamic-data-mapping-test/src/testIntegration/java/com/liferay/dynamic/data/mapping/internal/upgrade/v5_6_1/test/DDMFieldAttributeUpgradeProcessTest.java"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-24T14:33:54Z"
          }
        }
      ],
      "modified": "2026-10-24T14:33:54.968183812Z",
      "provider": "osv",
      "references": [
        "https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-43781"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:liferay:digital_experience_platform:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "liferay:digital_experience_platform",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2024.Q1.1"
                  },
                  {
                    "fixed": "2024.Q1.13"
                  },
                  {
                    "introduced": "2024.q2.0"
                  },
                  {
                    "last_affected": "2024.q2.13"
                  },
                  {
                    "introduced": "2024.Q3.0"
                  },
                  {
                    "fixed": "2024.Q3.9"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-43781",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 443779,
  "published_at": "2025-09-09T19:15:46.73+00:00"
}