CVE-2026-9829 (GCVE-0-2026-9829)
Vulnerability from cvelistv5
Published
2026-06-06 04:28
Modified
2026-06-06 11:41
CWE
  • CWE-89 - Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Summary
The Photo Gallery by 10Web – Mobile-Friendly Image Gallery plugin for WordPress is vulnerable to time-based SQL Injection via 'compact_album_order_by' Shortcode Parameter in all versions up to, and including, 1.8.41 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with contributor-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. The malicious payload is stored via the 'shortcode_bwg' AJAX handler — accessible to Contributor-level users and exploitable without a valid nonce by omitting the 'page' parameter — and is subsequently triggered by the unauthenticated 'bwg_frontend_data' AJAX handler, meaning successful exploitation requires only that an attacker has Contributor-level access to save the shortcode.
Impacted products
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-9829",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-06-06T11:33:25.351553Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-06-06T11:41:25.517Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Photo Gallery by 10Web \u2013 Mobile-Friendly Image Gallery",
          "vendor": "10web",
          "versions": [
            {
              "lessThanOrEqual": "1.8.41",
              "status": "affected",
              "version": "0",
              "versionType": "semver"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "Jonah Burgess"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "The Photo Gallery by 10Web \u2013 Mobile-Friendly Image Gallery plugin for WordPress is vulnerable to time-based SQL Injection via \u0027compact_album_order_by\u0027 Shortcode Parameter in all versions up to, and including, 1.8.41 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with contributor-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. The malicious payload is stored via the \u0027shortcode_bwg\u0027 AJAX handler \u2014 accessible to Contributor-level users and exploitable without a valid nonce by omitting the \u0027page\u0027 parameter \u2014 and is subsequently triggered by the unauthenticated \u0027bwg_frontend_data\u0027 AJAX handler, meaning successful exploitation requires only that an attacker has Contributor-level access to save the shortcode."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 6.5,
            "baseSeverity": "MEDIUM",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
            "version": "3.1"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-89",
              "description": "CWE-89 Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-06-06T04:28:20.367Z",
        "orgId": "b15e7b5b-3da4-40ae-a43c-f7aa60e62599",
        "shortName": "Wordfence"
      },
      "references": [
        {
          "url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/cae7dabd-ce43-43e3-9f67-b2de55bd720b?source=cve"
        },
        {
          "url": "https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.40/frontend/models/model.php#L113"
        },
        {
          "url": "https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.41/frontend/models/model.php#L113"
        },
        {
          "url": "https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.41/frontend/models/model.php#L162"
        },
        {
          "url": "https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.41/admin/controllers/Shortcode.php#L59"
        },
        {
          "url": "https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.41/framework/WDWLibrary.php#L2281"
        },
        {
          "url": "https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.41/photo-gallery.php#L717"
        },
        {
          "url": "https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.40/frontend/models/model.php#L162"
        },
        {
          "url": "https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.40/admin/controllers/Shortcode.php#L59"
        },
        {
          "url": "https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.40/framework/WDWLibrary.php#L2281"
        },
        {
          "url": "https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.40/photo-gallery.php#L717"
        },
        {
          "url": "https://plugins.trac.wordpress.org/changeset/3553847"
        }
      ],
      "timeline": [
        {
          "lang": "en",
          "time": "2026-05-28T15:13:10.000Z",
          "value": "Vendor Notified"
        },
        {
          "lang": "en",
          "time": "2026-06-05T15:34:43.000Z",
          "value": "Disclosed"
        }
      ],
      "title": "Photo Gallery by 10Web \u003c= 1.8.41 - Authenticated (Contributor+) SQL Injection via \u0027compact_album_order_by\u0027 Shortcode Parameter"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "b15e7b5b-3da4-40ae-a43c-f7aa60e62599",
    "assignerShortName": "Wordfence",
    "cveId": "CVE-2026-9829",
    "datePublished": "2026-06-06T04:28:20.367Z",
    "dateReserved": "2026-05-28T12:02:27.528Z",
    "dateUpdated": "2026-06-06T11:41:25.517Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-9829\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-06-06T11:33:25.351553Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-06-06T11:41:19.491Z\"}}], \"cna\": {\"title\": \"Photo Gallery by 10Web \u003c= 1.8.41 - Authenticated (Contributor+) SQL Injection via \u0027compact_album_order_by\u0027 Shortcode Parameter\", \"credits\": [{\"lang\": \"en\", \"type\": \"finder\", \"value\": \"Jonah Burgess\"}], \"metrics\": [{\"cvssV3_1\": {\"version\": \"3.1\", \"baseScore\": 6.5, \"baseSeverity\": \"MEDIUM\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N\"}}], \"affected\": [{\"vendor\": \"10web\", \"product\": \"Photo Gallery by 10Web \\u2013 Mobile-Friendly Image Gallery\", \"versions\": [{\"status\": \"affected\", \"version\": \"0\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"1.8.41\"}], \"defaultStatus\": \"unaffected\"}], \"timeline\": [{\"lang\": \"en\", \"time\": \"2026-05-28T15:13:10.000Z\", \"value\": \"Vendor Notified\"}, {\"lang\": \"en\", \"time\": \"2026-06-05T15:34:43.000Z\", \"value\": \"Disclosed\"}], \"references\": [{\"url\": \"https://www.wordfence.com/threat-intel/vulnerabilities/id/cae7dabd-ce43-43e3-9f67-b2de55bd720b?source=cve\"}, {\"url\": \"https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.40/frontend/models/model.php#L113\"}, {\"url\": \"https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.41/frontend/models/model.php#L113\"}, {\"url\": \"https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.41/frontend/models/model.php#L162\"}, {\"url\": \"https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.41/admin/controllers/Shortcode.php#L59\"}, {\"url\": \"https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.41/framework/WDWLibrary.php#L2281\"}, {\"url\": \"https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.41/photo-gallery.php#L717\"}, {\"url\": \"https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.40/frontend/models/model.php#L162\"}, {\"url\": \"https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.40/admin/controllers/Shortcode.php#L59\"}, {\"url\": \"https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.40/framework/WDWLibrary.php#L2281\"}, {\"url\": \"https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.40/photo-gallery.php#L717\"}, {\"url\": \"https://plugins.trac.wordpress.org/changeset/3553847\"}], \"descriptions\": [{\"lang\": \"en\", \"value\": \"The Photo Gallery by 10Web \\u2013 Mobile-Friendly Image Gallery plugin for WordPress is vulnerable to time-based SQL Injection via \u0027compact_album_order_by\u0027 Shortcode Parameter in all versions up to, and including, 1.8.41 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with contributor-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. The malicious payload is stored via the \u0027shortcode_bwg\u0027 AJAX handler \\u2014 accessible to Contributor-level users and exploitable without a valid nonce by omitting the \u0027page\u0027 parameter \\u2014 and is subsequently triggered by the unauthenticated \u0027bwg_frontend_data\u0027 AJAX handler, meaning successful exploitation requires only that an attacker has Contributor-level access to save the shortcode.\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-89\", \"description\": \"CWE-89 Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)\"}]}], \"providerMetadata\": {\"orgId\": \"b15e7b5b-3da4-40ae-a43c-f7aa60e62599\", \"shortName\": \"Wordfence\", \"dateUpdated\": \"2026-06-06T04:28:20.367Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2026-9829\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-06-06T11:41:25.517Z\", \"dateReserved\": \"2026-05-28T12:02:27.528Z\", \"assignerOrgId\": \"b15e7b5b-3da4-40ae-a43c-f7aa60e62599\", \"datePublished\": \"2026-06-06T04:28:20.367Z\", \"assignerShortName\": \"Wordfence\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…