{"id":"CVE-2022-0169","aliases":["EUVD-2022-15377","GHSA-3hxm-xw7j-7rgj"],"status":"published","title":"Photo Gallery by 10Web \u003c 1.6.0 - Unauthenticated SQL Injection","description":"The Photo Gallery by 10Web WordPress plugin before 1.6.0 does not validate and escape the bwg_tag_id_bwg_thumbnails_0 parameter before using it in a SQL statement via the bwg_frontend_data AJAX action (available to unauthenticated and authenticated users), leading to an unauthenticated SQL injection","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.74615,"percentile":0.99502,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-89"],"published":"2022-03-14T14:41:22Z","modified":"2026-06-17T04:20:05Z","exploits":[{"source":"metasploit","id":"auxiliary/gather/wp_photo_gallery_sqli","title":"WordPress Photo Gallery Plugin SQL Injection (CVE-2022-0169)","type":"auxiliary","date":"2022-03-14","verified":true,"url":"https://www.rapid7.com/db/modules/auxiliary/gather/wp_photo_gallery_sqli"},{"source":"nuclei","id":"CVE-2022-0169","title":"Photo Gallery by 10Web \u003c 1.6.0 - SQL Injection","type":"detection template","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-0169.yaml"},{"source":"pocgithub","id":"X3RX3SSec/CVE-2022-0169","title":"X3RX3SSec/CVE-2022-0169","date":"2025-07-09","url":"https://github.com/X3RX3SSec/CVE-2022-0169"}],"products":[{"vendor":"10web","product":"photo gallery by 10web – mobile-friendly image gallery"},{"vendor":"10web","product":"photo_gallery"},{"vendor":"unknown","product":"photo gallery by 10web – mobile-friendly image gallery"}],"references":[{"url":"https://wpscan.com/vulnerability/0b4d870f-eab8-4544-91f8-9c5f0538709c","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory"]},{"url":"https://plugins.trac.wordpress.org/changeset/2672822/photo-gallery#file9","tags":["x_refsource_CONFIRM","x_transferred","Patch","Release Notes","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0169"},{"url":"https://github.com/advisories/GHSA-3hxm-xw7j-7rgj"}],"sources":{"cve":[{"id":"CVE-2022-0169","title":"Photo Gallery by 10Web \u003c 1.6.0 - Unauthenticated SQL Injection","description":"The Photo Gallery by 10Web WordPress plugin before 1.6.0 does not validate and escape the bwg_tag_id_bwg_thumbnails_0 parameter before using it in a SQL statement via the bwg_frontend_data AJAX action (available to unauthenticated and authenticated users), leading to an unauthenticated SQL injection","status":"published","published":"2022-03-14T14:41:22Z","modified":"2024-08-02T23:18:41.932Z","cwes":["CWE-89"],"updated_at":"2026-11-02T14:34:41.69911Z"}],"euvd":[{"id":"EUVD-2022-15377","description":"The Photo Gallery by 10Web WordPress plugin before 1.6.0 does not validate and escape the bwg_tag_id_bwg_thumbnails_0 parameter before using it in a SQL statement via the bwg_frontend_data AJAX action (available to unauthenticated and authenticated users), leading to an unauthenticated SQL injection","status":"published","published":"2022-03-14T14:41:22Z","modified":"2024-08-02T23:18:41Z","updated_at":"2026-11-03T03:26:06.635969Z"}],"ghsa":[{"id":"GHSA-3hxm-xw7j-7rgj","title":"The Photo Gallery by 10Web WordPress plugin before 1.6.0 does not validate and escape the...","description":"The Photo Gallery by 10Web WordPress plugin before 1.6.0 does not validate and escape the bwg_tag_id_bwg_thumbnails_0 parameter before using it in a SQL statement via the bwg_frontend_data AJAX action (available to unauthenticated and authenticated users), leading to an unauthenticated SQL injection","status":"published","published":"2022-03-15T00:00:57Z","modified":"2023-01-27T05:00:42Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:41:44.25061Z"}],"nvd":[{"id":"CVE-2022-0169","description":"The Photo Gallery by 10Web WordPress plugin before 1.6.0 does not validate and escape the bwg_tag_id_bwg_thumbnails_0 parameter before using it in a SQL statement via the bwg_frontend_data AJAX action (available to unauthenticated and authenticated users), leading to an unauthenticated SQL injection","status":"published","published":"2022-03-14T15:15:09.57Z","modified":"2026-06-17T04:20:05.353Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:07:13.7085Z"}]}}
