Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2025-43787

A Stored cross-site scripting vulnerability in the Liferay Portal 7.4.0 through 7.4.3.132, and Liferay DXP 2025.Q3.0, 2025.Q2.0 through 2025.Q2.12, 2025.Q1.0 through 2025.Q1.17, 2024.Q4.0 through 2024.Q4.7, 2024.Q3.0 through 2024.Q3.13, 2024.Q2.0 through 2024.Q2.13 and 2024.Q1.1 through 2024.Q1.20 allows an remote authenticated attacker to inject JavaScript through the organization site names. The malicious payload is stored and executed without proper sanitization or escaping.

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

Source evidence

CVE-2025-43787

core-osv · Original source

Published 12 Sept 2025, 17:15 UTC

A Stored cross-site scripting vulnerability in the Liferay Portal 7.4.0 through 7.4.3.132, and Liferay DXP 2025.Q3.0, 2025.Q2.0 through 2025.Q2.12, 2025.Q1.0 through 2025.Q1.17, 2024.Q4.0 through 2024.Q4.7, 2024.Q3.0 through 2024.Q3.13, 2024.Q2.0 through 2024.Q2.13 and 2024.Q1.1 through 2024.Q1.20 allows an remote authenticated attacker to inject JavaScript through the organization site names. The malicious payload is stored and executed without proper sanitization or escaping.

osv:CVE-2025-43787
Complete source record
{
  "id": "2ca734740d59d07b693deebf54de91e7d265a776ba9222682637a6ec8fe818ab",
  "url": "https://osv.dev/vulnerability/CVE-2025-43787",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2025-43787",
    "summary": "A Stored cross-site scripting vulnerability in the Liferay Portal 7.4.0 through 7.4.3.132, and Liferay DXP 2025.Q3.0, 2025.Q2.0 through 2025.Q2.12, 2025.Q1.0 through 2025.Q1.17, 2024.Q4.0 through 2024.Q4.7, 2024.Q3.0 through 2024.Q3.13, 2024.Q2.0 through 2024.Q2.13 and 2024.Q1.1 through 2024.Q1.20 allows an remote authenticated attacker to inject JavaScript through the organization site names. The malicious payload is stored and executed without proper sanitization or escaping.",
    "evidence": "osv:CVE-2025-43787",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-43787",
      "aliases": [
        "CVE-2025-43787",
        "GHSA-g8fh-pfw3-8rmr"
      ],
      "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": "ec84d86679146b84af526f96471a730c340dda78"
                },
                {
                  "last_affected": "a9017d1f654503189fcd6eecd59bd501a7015b8c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:liferay:liferay_portal:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.4.0"
                      },
                      {
                        "last_affected": "7.4.3.132"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "7.4.3.132-ga132",
            "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-43787.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:46.460183746Z",
      "provider": "osv",
      "references": [
        "https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-43787"
      ],
      "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.21"
                  },
                  {
                    "introduced": "2024.q2.0"
                  },
                  {
                    "last_affected": "2024.q2.13"
                  },
                  {
                    "introduced": "2024.Q3.0"
                  },
                  {
                    "last_affected": "2024.Q3.13"
                  },
                  {
                    "introduced": "2024.q4.0"
                  },
                  {
                    "last_affected": "2024.q4.7"
                  },
                  {
                    "introduced": "2025.Q1.0"
                  },
                  {
                    "last_affected": "2025.Q1.17"
                  },
                  {
                    "introduced": "2025.q2.0"
                  },
                  {
                    "last_affected": "2025.q2.12"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:liferay:digital_experience_platform:2025.q3.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "liferay:digital_experience_platform",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2025.q3.0"
                  },
                  {
                    "last_affected": "2025.q3.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-43787",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 436345,
  "published_at": "2025-09-12T17:15:47.433+00:00"
}