{"api_version":"1","generated_at":"2026-09-04T10:13:24+00:00","cve":"CVE-2026-76006","urls":{"html":"https://cve.report/CVE-2026-76006","api":"https://cve.report/api/cve/CVE-2026-76006.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-76006","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-76006"},"summary":{"title":"Photo Gallery by Ays <= 6.8.2 - Authenticated (Administrator+) SQL Injection via 's' Parameter","description":"The Photo Gallery by Ays – Responsive Image Gallery plugin for WordPress is vulnerable to generic SQL Injection via the 's' parameter in all versions up to, and including, 6.8.2 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 administrator-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 vulnerability exists across two execution paths — $wpdb->get_var() in record_count() and $wpdb->get_results() in prepare_items()/get_image_categories() — enabling both blind and UNION-based exfiltration techniques.","state":"PUBLISHED","assigner":"Wordfence","published_at":"2026-09-01 05:17:10","updated_at":"2026-09-02 18:21:22"},"problem_types":["CWE-89","CWE-89 CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')"],"metrics":[{"version":"3.1","source":"security@wordfence.com","type":"Secondary","score":"4.9","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","baseScore":4.9,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"4.9","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","data":{"baseScore":4.9,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}}],"references":[{"url":"https://plugins.trac.wordpress.org/browser/gallery-photo-gallery/tags/6.8.2/includes/lists/class-gallery-photo-gallery-categories-list-table.php#L428","name":"https://plugins.trac.wordpress.org/browser/gallery-photo-gallery/tags/6.8.2/includes/lists/class-gallery-photo-gallery-categories-list-table.php#L428","refsource":"security@wordfence.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://plugins.trac.wordpress.org/browser/gallery-photo-gallery/tags/6.8.2/includes/lists/class-gallery-photo-gallery-categories-list-table.php#L63","name":"https://plugins.trac.wordpress.org/browser/gallery-photo-gallery/tags/6.8.2/includes/lists/class-gallery-photo-gallery-categories-list-table.php#L63","refsource":"security@wordfence.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://plugins.trac.wordpress.org/changeset?reponame=&old=3655818%40gallery-photo-gallery&new=3655818%40gallery-photo-gallery","name":"https://plugins.trac.wordpress.org/changeset?reponame=&old=3655818%40gallery-photo-gallery&new=3655818%40gallery-photo-gallery","refsource":"security@wordfence.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://plugins.trac.wordpress.org/browser/gallery-photo-gallery/tags/6.8.2/includes/lists/class-gallery-photo-gallery-categories-list-table.php#L226","name":"https://plugins.trac.wordpress.org/browser/gallery-photo-gallery/tags/6.8.2/includes/lists/class-gallery-photo-gallery-categories-list-table.php#L226","refsource":"security@wordfence.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/7f45b7d0-6816-45dc-b373-b63a42bbb9f1?source=cve","name":"https://www.wordfence.com/threat-intel/vulnerabilities/id/7f45b7d0-6816-45dc-b373-b63a42bbb9f1?source=cve","refsource":"security@wordfence.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://plugins.trac.wordpress.org/browser/gallery-photo-gallery/tags/6.8.2/includes/lists/class-gallery-photo-gallery-categories-list-table.php#L224","name":"https://plugins.trac.wordpress.org/browser/gallery-photo-gallery/tags/6.8.2/includes/lists/class-gallery-photo-gallery-categories-list-table.php#L224","refsource":"security@wordfence.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://plugins.trac.wordpress.org/browser/gallery-photo-gallery/tags/6.8.2/includes/lists/class-gallery-photo-gallery-categories-list-table.php#L234","name":"https://plugins.trac.wordpress.org/browser/gallery-photo-gallery/tags/6.8.2/includes/lists/class-gallery-photo-gallery-categories-list-table.php#L234","refsource":"security@wordfence.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-76006","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-76006","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"ays-pro","product":"Photo Gallery by Ays – Responsive Image Gallery","version":"affected 6.8.2 semver","platforms":[]}],"timeline":[{"source":"CNA","time":"2026-08-18T19:07:49.000Z","lang":"en","value":"Vendor Notified"},{"source":"CNA","time":"2026-08-31T15:57:55.000Z","lang":"en","value":"Disclosed"}],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"Wordfence PRISM","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"76006","cve":"CVE-2026-76006","epss":"0.003510000","percentile":"0.280440000","score_date":"2026-09-03","updated_at":"2026-09-04 00:08:05"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2026-76006","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","timestamp":"2026-09-02T17:53:31.153947Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-09-02T17:53:44.727Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"defaultStatus":"unaffected","product":"Photo Gallery by Ays – Responsive Image Gallery","vendor":"ays-pro","versions":[{"lessThanOrEqual":"6.8.2","status":"affected","version":"0","versionType":"semver"}]}],"credits":[{"lang":"en","type":"finder","value":"Wordfence PRISM"}],"descriptions":[{"lang":"en","value":"The Photo Gallery by Ays – Responsive Image Gallery plugin for WordPress is vulnerable to generic SQL Injection via the 's' parameter in all versions up to, and including, 6.8.2 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 administrator-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 vulnerability exists across two execution paths — $wpdb->get_var() in record_count() and $wpdb->get_results() in prepare_items()/get_image_categories() — enabling both blind and UNION-based exfiltration techniques."}],"metrics":[{"cvssV3_1":{"baseScore":4.9,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/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 ('SQL Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-09-01T04:27:50.986Z","orgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","shortName":"Wordfence"},"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/7f45b7d0-6816-45dc-b373-b63a42bbb9f1?source=cve"},{"url":"https://plugins.trac.wordpress.org/browser/gallery-photo-gallery/tags/6.8.2/includes/lists/class-gallery-photo-gallery-categories-list-table.php#L226"},{"url":"https://plugins.trac.wordpress.org/browser/gallery-photo-gallery/tags/6.8.2/includes/lists/class-gallery-photo-gallery-categories-list-table.php#L234"},{"url":"https://plugins.trac.wordpress.org/browser/gallery-photo-gallery/tags/6.8.2/includes/lists/class-gallery-photo-gallery-categories-list-table.php#L224"},{"url":"https://plugins.trac.wordpress.org/browser/gallery-photo-gallery/tags/6.8.2/includes/lists/class-gallery-photo-gallery-categories-list-table.php#L428"},{"url":"https://plugins.trac.wordpress.org/browser/gallery-photo-gallery/tags/6.8.2/includes/lists/class-gallery-photo-gallery-categories-list-table.php#L63"},{"url":"https://plugins.trac.wordpress.org/changeset?reponame=&old=3655818%40gallery-photo-gallery&new=3655818%40gallery-photo-gallery"}],"timeline":[{"lang":"en","time":"2026-08-18T19:07:49.000Z","value":"Vendor Notified"},{"lang":"en","time":"2026-08-31T15:57:55.000Z","value":"Disclosed"}],"title":"Photo Gallery by Ays <= 6.8.2 - Authenticated (Administrator+) SQL Injection via 's' Parameter"}},"cveMetadata":{"assignerOrgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","assignerShortName":"Wordfence","cveId":"CVE-2026-76006","datePublished":"2026-09-01T04:27:50.986Z","dateReserved":"2026-08-18T18:52:42.738Z","dateUpdated":"2026-09-02T17:53:44.727Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-09-01 05:17:10","lastModifiedDate":"2026-09-02 18:21:22","problem_types":["CWE-89","CWE-89 CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')"],"metrics":{"cvssMetricV31":[{"source":"security@wordfence.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","baseScore":4.9,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"},"exploitabilityScore":1.2,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-09-02T17:53:31.153947Z","id":"CVE-2026-76006","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"76006","Ordinal":"1","Title":"Photo Gallery by Ays <= 6.8.2 - Authenticated (Administrator+) S","CVE":"CVE-2026-76006","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"76006","Ordinal":"1","NoteData":"The Photo Gallery by Ays – Responsive Image Gallery plugin for WordPress is vulnerable to generic SQL Injection via the 's' parameter in all versions up to, and including, 6.8.2 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 administrator-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 vulnerability exists across two execution paths — $wpdb->get_var() in record_count() and $wpdb->get_results() in prepare_items()/get_image_categories() — enabling both blind and UNION-based exfiltration techniques.","Type":"Description","Title":"Photo Gallery by Ays <= 6.8.2 - Authenticated (Administrator+) S"}]}}}