{
  "id": "CVE-2026-5118",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-5118",
  "published_at": "2026-05-21T11:32:00.451Z",
  "title": "Divi Form Builder \u003c= 5.1.2 - Unauthenticated Privilege Escalation via 'role'",
  "vendor": "Divi Engine",
  "product": "Divi Form Builder",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-05-21T10:12:26Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": -0.1,
    "repo": "zycoder0day/CVE-2026-5118",
    "source": "github"
  },
  "poc_repo_count": 6,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "The Divi Form Builder plugin for WordPress is vulnerable to privilege escalation in versions up to, and including, 5.1.2. This is due to the plugin accepting a user-controlled 'role' parameter from POST data during user registration without validating it against the form's configured default_user_role setting. This makes it possible for unauthenticated attackers to create administrator accounts by tampering with the role parameter during registration.",
  "cwe": "CWE-269",
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [
    {
      "repo": "zycoder0day/CVE-2026-5118",
      "url": "https://github.com/zycoder0day/CVE-2026-5118",
      "created_at": "2026-05-21T10:12:26Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 5,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2017-08-28T08:30:22Z"
    },
    {
      "repo": "puj790201-lab/CVE-2026-5118",
      "url": "https://github.com/puj790201-lab/CVE-2026-5118",
      "created_at": "2026-05-21T13:08:02Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2025-09-28T09:16:54Z"
    },
    {
      "repo": "Jenderal92/CVE-2026-5118",
      "url": "https://github.com/Jenderal92/CVE-2026-5118",
      "created_at": "2026-05-21T22:45:59Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-01-08T19:11:35Z"
    },
    {
      "repo": "Yucaerin/CVE-2026-5118",
      "url": "https://github.com/Yucaerin/CVE-2026-5118",
      "created_at": "2026-05-22T07:53:21Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2022-05-19T12:14:07Z"
    },
    {
      "repo": "1beelze/CVE-2026-5118",
      "url": "https://github.com/1beelze/CVE-2026-5118",
      "created_at": "2026-07-13T05:45:30Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 15,
      "suspicious": false,
      "suspicion_reasons": [
        "owner account created less than 30 days before the repo"
      ],
      "status": "analyzed",
      "owner_created_at": "2026-07-03T08:31:34Z"
    },
    {
      "repo": "SangSenimanWartefak/CVE-2026-5118",
      "url": "https://github.com/SangSenimanWartefak/CVE-2026-5118",
      "created_at": "2026-09-22T23:45:32Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2026-04-14T08:29:12Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "Divi Engine",
        "product": "Divi Form Builder",
        "ranges": [
          "\u003c= 5.1.2"
        ],
        "fixed_in": null
      }
    ],
    "references": [
      {
        "kind": "Release notes",
        "url": "https://diviengine.com/divi-form-builder-changelog/"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [
    {
      "method": "POST",
      "path_template": "/wp-admin/admin-ajax.php",
      "headers": [
        {
          "name": "X-Requested-With",
          "value": "XMLHttpRequest"
        }
      ],
      "body_markers": [
        "------POC\nContent-Disposition: form-data; name=\"action\""
      ],
      "content_type": "multipart/form-data; boundary={var}",
      "user_agents": [
        "Mozilla/5.0"
      ],
      "protocol": "https",
      "repos": [
        "1beelze/CVE-2026-5118",
        "Jenderal92/CVE-2026-5118",
        "SangSenimanWartefak/CVE-2026-5118",
        "zycoder0day/CVE-2026-5118"
      ],
      "repo_count": 4,
      "confidence": 0.85,
      "evidence": [
        "1beelze/CVE-2026-5118/CVE-2026-5118.py:334",
        "Jenderal92/CVE-2026-5118/CVE-2026-5118.py:101",
        "SangSenimanWartefak/CVE-2026-5118/CVE-2026-5118.py:334",
        "zycoder0day/CVE-2026-5118/README.md:133"
      ]
    },
    {
      "method": "GET",
      "path_template": "/wp-json/wp/v2/pages",
      "query_markers": [
        "per_page=",
        "status=publish",
        "_fields=link,content"
      ],
      "protocol": "https",
      "repos": [
        "1beelze/CVE-2026-5118",
        "SangSenimanWartefak/CVE-2026-5118"
      ],
      "repo_count": 2,
      "confidence": 0.7,
      "evidence": [
        "1beelze/CVE-2026-5118/CVE-2026-5118.py:263",
        "SangSenimanWartefak/CVE-2026-5118/CVE-2026-5118.py:263"
      ]
    },
    {
      "method": "GET",
      "path_template": "/wp-json/wp/v2/users/me",
      "query_markers": [
        "context=edit"
      ],
      "protocol": "https",
      "repos": [
        "1beelze/CVE-2026-5118",
        "SangSenimanWartefak/CVE-2026-5118"
      ],
      "repo_count": 2,
      "confidence": 0.7,
      "evidence": [
        "1beelze/CVE-2026-5118/CVE-2026-5118.py:378",
        "SangSenimanWartefak/CVE-2026-5118/CVE-2026-5118.py:378"
      ]
    },
    {
      "method": "GET",
      "path_template": "/wp-login.php",
      "protocol": "https",
      "repos": [
        "1beelze/CVE-2026-5118",
        "SangSenimanWartefak/CVE-2026-5118"
      ],
      "repo_count": 2,
      "confidence": 0.7,
      "evidence": [
        "1beelze/CVE-2026-5118/CVE-2026-5118.py:354",
        "SangSenimanWartefak/CVE-2026-5118/CVE-2026-5118.py:354"
      ]
    },
    {
      "method": "POST",
      "path_template": "/wp-login.php",
      "body_markers": [
        "log=",
        "pwd=",
        "wp-submit=Log In",
        "redirect_to=",
        "testcookie=1"
      ],
      "content_type": "application/x-www-form-urlencoded",
      "protocol": "https",
      "repos": [
        "1beelze/CVE-2026-5118",
        "SangSenimanWartefak/CVE-2026-5118"
      ],
      "repo_count": 2,
      "confidence": 0.7,
      "evidence": [
        "1beelze/CVE-2026-5118/CVE-2026-5118.py:367",
        "SangSenimanWartefak/CVE-2026-5118/CVE-2026-5118.py:367"
      ]
    }
  ],
  "rules": []
}
