Skip to content
Heist/ feed
Back to feed
Medium

Ultimate Member – User Profile, User Registration, Login & Membership Plugin <= 2.5.0 - Authenticated (Contributor+) Directory Traversal via Shortcodes

Type: advisorySources: OSV

The Ultimate Member plugin for WordPress is vulnerable to directory traversal in versions up to, and including 2.5.0 due to insufficient input validation on the 'template' attribute used in shortcodes. This makes it possible for attackers with administrative privileges to supply arbitrary paths using traversal (../../) to access and include files outside of the intended directory. If an attacker can successfully upload a php file then remote code execution via inclusion may also be possible. Note: for users with less than administrative capabilities, /wp-admin access needs to be enabled for that user in order for this to be exploitable by those users.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-3361
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 23:06 UTC · Revision 1

Source evidence

Ultimate Member – User Profile, User Registration, Login & Membership Plugin <= 2.5.0 - Authenticated (Contributor+) Directory Traversal via Shortcodes

core-osv · Original source

Published 29 Nov 2022, 20:39 UTC

The Ultimate Member plugin for WordPress is vulnerable to directory traversal in versions up to, and including 2.5.0 due to insufficient input validation on the 'template' attribute used in shortcodes. This makes it possible for attackers with administrative privileges to supply arbitrary paths using traversal (../../) to access and include files outside of the intended directory. If an attacker can successfully upload a php file then remote code execution via inclusion may also be possible. Note: for users with less than administrative capabilities, /wp-admin access needs to be enabled for that user in order for this to be exploitable by those users.

osv:CVE-2022-3361
Complete source record
{
  "id": "c696fa6feb84ffc179d5758b5337a8b5b61a1318bd75669a4d887b2800788388",
  "url": "https://osv.dev/vulnerability/CVE-2022-3361",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Ultimate Member – User Profile, User Registration, Login & Membership Plugin <= 2.5.0 - Authenticated (Contributor+) Directory Traversal via Shortcodes",
    "summary": "The Ultimate Member plugin for WordPress is vulnerable to directory traversal in versions up to, and including 2.5.0 due to insufficient input validation on the 'template' attribute used in shortcodes. This makes it possible for attackers with administrative privileges to supply arbitrary paths using traversal (../../) to access and include files outside of the intended directory. If an attacker can successfully upload a php file then remote code execution via inclusion may also be possible. Note: for users with less than administrative capabilities, /wp-admin access needs to be enabled for that user in order for this to be exploitable by those users.",
    "evidence": "osv:CVE-2022-3361",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2022-3361",
      "aliases": [
        "CVE-2022-3361"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/ultimatemember/ultimatemember",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "bbb873a09da7049f6cd4b6e48a162cf386197bf7"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:ultimatemember:ultimate_member:*:*:*:*:*:wordpress:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "2.5.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.5.0",
            "2.4.2",
            "2.4.1",
            "2.4.0",
            "2.3.2",
            "2.3.1",
            "2.3.0",
            "2.2.5",
            "2.2.4",
            "2.2.3",
            "2.2.2",
            "2.2.1",
            "2.2.0",
            "2.1.20",
            "2.1.19",
            "2.1.18",
            "2.1.17",
            "2.1.16",
            "2.1.15",
            "2.1.14",
            "2.1.13",
            "2.1.12",
            "2.1.11",
            "2.1.10",
            "2.1.9",
            "2.1.8",
            "2.1.7",
            "2.1.6",
            "2.1.5",
            "2.1.4",
            "2.1.3",
            "2.1.3-rc.1",
            "2.1.2",
            "2.1.2-rc.1",
            "2.1.1",
            "2.1.0",
            "2.1.0-rc.2",
            "2.1.0-rc.1",
            "2.0.54",
            "2.0.53",
            "2.0.50",
            "2.0.49",
            "2.0.48",
            "2.0.47",
            "2.0.46",
            "2.0.45",
            "2.0.44",
            "2.0.43",
            "2.0.41",
            "2.0.39",
            "2.0.38",
            "2.0.37",
            "2.0.35",
            "2.0.34",
            "2.0.24",
            "2.0.17",
            "2.0.16",
            "2.0.11",
            "2.0.10",
            "2.0.9",
            "2.0.5",
            "2.0.4",
            "1.3.88",
            "1.3.88.6",
            "1.3.88.5",
            "1.3.88.4",
            "v1.3.88.3",
            "v1.3.88.2",
            "v1.3.88.1",
            "v1.3.84",
            "v1.3.83",
            "v1.3.82",
            "v1.3.81",
            "v1.3.79",
            "v1.3.78",
            "v1.3.76",
            "v1.3.75",
            "v1.3.74",
            "v1.3.73",
            "v1.3.72",
            "v1.3.71",
            "v1.3.69",
            "pre-v1.3.69.25",
            "pre-v1.3.69.24",
            "pre-v1.3.69.23",
            "pre-v1.3.69.22",
            "pre-v1.3.69.21",
            "pre-v1.3.69.20",
            "pre-v1.3.69.19",
            "pre-v1.3.69.18",
            "pre-v1.3.69.17",
            "pre-v1.3.69.16",
            "v1.3.68",
            "v1.3.67",
            "v1.3.66",
            "v1.3.65",
            "v1.3.64",
            "v1.3.63",
            "v1.3.62",
            "v1.3.61",
            "v1.3.60",
            "1.3.59",
            "v1.3.56",
            "v1.3.55",
            "v1.3.54",
            "v1.3.53",
            "v1.3.52",
            "v1.3.51",
            "pre-v1.3.50",
            "v1.3.49",
            "1.3.48",
            "v1.3.47",
            "v1.3.45",
            "v1.3.44",
            "v1.3.43",
            "v1.3.42",
            "v1.3.41",
            "v1.3.40",
            "v1.3.39",
            "v1.3.38",
            "v1.3.37",
            "v1.3.36",
            "v1.3.35",
            "v1.3.32",
            "v1.3.30",
            "v1.3.29"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-3361.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:24.155233685Z",
      "provider": "osv",
      "references": [
        "https://github.com/H4de5-7/vulnerabilities/blob/main/CVE-2022-3361.md",
        "https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=2805393%40ultimate-member&new=2805393%40ultimate-member&sfp_email=&sfph_mail=",
        "https://www.wordfence.com/threat-intel/vulnerabilities/id/8c7d5fbe-d272-46d4-9b33-889ba77dcc52?source=cve",
        "https://www.yuque.com/docs/share/23f988ad-1402-42f2-b8d2-c7a87a4022bd",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/3xxx/CVE-2022-3361.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-3361",
        "https://www.wordfence.com/vulnerability-advisories-continued/#CVE-2022-3361"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-22"
        ],
        "cna_assigner": "Wordfence",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "last_affected": "2.5.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/3xxx/CVE-2022-3361.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-3361",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 490728,
  "published_at": "2022-11-29T20:39:43.596+00:00"
}