{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "4.10.1"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "3f17cd3edd58fbf465ee5ef24c84ffb768ae876d"
            }
          ],
          "repo": "https://github.com/orangehrm/orangehrm",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "A stored cross-site scripting (XSS) vulnerability in the addNewPost component of OrangeHRM v4.10.1 allows attackers to execute arbitrary web scripts or HTML via a crafted POST request.",
  "id": "CVE-2022-28985",
  "modified": "2026-03-13T21:54:14.062777190Z",
  "published": "2022-05-20T02:15:07.313Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://github.com/orangehrm/orangehrm/issues/1217"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}