{"id":"CVE-2022-28985","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.","modified":"2026-04-10T04:47:06.181373Z","published":"2022-05-20T02:15:07.313Z","references":[{"type":"REPORT","url":"https://github.com/orangehrm/orangehrm/issues/1217"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/orangehrm/orangehrm","events":[{"introduced":"0"},{"last_affected":"3f17cd3edd58fbf465ee5ef24c84ffb768ae876d"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"4.10.1"}]}}],"versions":["4.2","4.2.0.1","4.3","4.3.1","4.3.2","4.3.3","4.3.4","4.3.5","4.6.0.1","v4.1","v4.1.1","v4.1.2","v4.1.2.1","v4.10","v4.10.1","v4.3.5","v4.3.5.1","v4.4","v4.5","v4.6","v4.7","v4.8","v4.9"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-28985.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"}]}