{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "1.17.11"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "54666918b67f39882636f97a6ee846624ed14eb0"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "54666918b67f39882636f97a6ee846624ed14eb0"
            }
          ],
          "repo": "https://github.com/wp-erp/wp-erp",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-863"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126808.json"
  },
  "details": "weDevs ERP (WP ERP) through 1.17.11 contains an incorrect authorization vulnerability that allows authenticated employees to edit their own HR records because HRM AJAX handlers check erp_edit_employee instead of erp_manage_jobinfo. Attackers can post their own user_id with the My Profile nonce to change designation, reporting manager, pay rate, and employment type, or delete job history.",
  "id": "CVE-2026-126808",
  "modified": "2026-11-14T02:31:06.813941787Z",
  "published": "2026-11-11T20:53:10.317Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126808.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-126808"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/wp-erp-through-1.17.11-incorrect-authorization-via-hrm-job-info-ajax-handlers"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/wp-erp/wp-erp/issues/1691"
    },
    {
      "type": "FIX",
      "url": "https://github.com/wp-erp/wp-erp/commit/54666918b67f39882636f97a6ee846624ed14eb0"
    },
    {
      "type": "FIX",
      "url": "https://github.com/wp-erp/wp-erp/pull/1693"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/wp-erp/wp-erp/blob/v1.17.11/modules/hrm/includes/AjaxHandler.php#L1190-L1225"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/wp-erp/wp-erp/blob/v1.17.11/modules/hrm/includes/functions-capabilities.php#L228-L263"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "WP ERP through 1.17.11 Incorrect Authorization via HRM Job-Info AJAX Handlers"
}