Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-13445

In Liferay Portal before 7.3.2 and Liferay DXP 7.0 before fix pack 92, 7.1 before fix pack 18, and 7.2 before fix pack 6, the template API does not restrict user access to sensitive objects, which allows remote authenticated users to execute arbitrary code via crafted FreeMarker and Velocity templates.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-13445
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 04:15 UTC · Revision 1

Source evidence

CVE-2020-13445

core-osv · Original source

Published 10 Jun 2020, 19:15 UTC

In Liferay Portal before 7.3.2 and Liferay DXP 7.0 before fix pack 92, 7.1 before fix pack 18, and 7.2 before fix pack 6, the template API does not restrict user access to sensitive objects, which allows remote authenticated users to execute arbitrary code via crafted FreeMarker and Velocity templates.

osv:CVE-2020-13445
Complete source record
{
  "id": "43bb66bb1df546a0f26827b62825fb7b6bf78e74e1b55b4d3b58023ecaf102ad",
  "url": "https://osv.dev/vulnerability/CVE-2020-13445",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-13445",
    "summary": "In Liferay Portal before 7.3.2 and Liferay DXP 7.0 before fix pack 92, 7.1 before fix pack 18, and 7.2 before fix pack 6, the template API does not restrict user access to sensitive objects, which allows remote authenticated users to execute arbitrary code via crafted FreeMarker and Velocity templates.",
    "evidence": "osv:CVE-2020-13445",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2020-13445",
      "aliases": [
        "CVE-2020-13445",
        "GHSA-v377-8f8f-532h"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/liferay/liferay-portal",
              "type": "GIT",
              "events": [
                {
                  "introduced": "59148a8775a2b2345694a023683d95b478c483c6"
                },
                {
                  "last_affected": "0515646c8f638f202d107469cc147172fc7685de"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:liferay:liferay_portal:7.1:ga1:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "7.1-ga1"
                      },
                      {
                        "last_affected": "7.1-ga1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:liferay:liferay_portal:7.1.1:ga2:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "7.1.1-ga2"
                      },
                      {
                        "last_affected": "7.1.1-ga2"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:liferay:liferay_portal:7.1:ga2:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "7.1-ga2"
                      },
                      {
                        "last_affected": "7.1-ga2"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:liferay:liferay_portal:7.1:ga3:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "7.1-ga3"
                      },
                      {
                        "last_affected": "7.1-ga3"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:liferay:liferay_portal:7.2:ga1:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "7.2-ga1"
                      },
                      {
                        "last_affected": "7.2-ga1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:liferay:liferay_portal:7.3:ga1:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "7.3-ga1"
                      },
                      {
                        "last_affected": "7.3-ga1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:liferay:liferay_portal:7.3:ga2:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "7.3-ga2"
                      },
                      {
                        "last_affected": "7.3-ga2"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "7.1-ga1",
            "7.1-ga2",
            "7.1-ga3",
            "7.2-ga1",
            "7.3-ga1",
            "7.3-ga2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-13445.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:16.102250651Z",
      "provider": "osv",
      "references": [
        "https://issues.liferay.com/browse/LPE-17023",
        "https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/id/119317411",
        "https://securitylab.github.com/advisories/GHSL-2020-043-liferay_ce"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-13445",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 429284,
  "published_at": "2020-06-10T19:15:09.943+00:00"
}