{"schemaVersion":3,"id":"CVE-2022-0169","aliases":[],"status":"published","duplicateOf":null,"title":null,"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","dates":{"published":"2022-03-14T14:41:22.000Z","modified":"2024-08-02T23:18:41.932Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"wordfence","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.74615,"percentile":0.99497,"severity":"critical","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.74615},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.74615,"percentile":0.99497}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.74615,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.74615,"percentile":0.99497}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_FDB3EC5426EB30D1","name":"Exploit Reference (wpscan.com)","source":"reference","url":"https://wpscan.com/vulnerability/0b4d870f-eab8-4544-91f8-9c5f0538709c","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"MSF_AUXILIARY_GATHER_WP_PHOTO_GALLERY_SQLI","name":"WordPress Photo Gallery Plugin SQL Injection (CVE-2022-0169)","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/gather/wp_photo_gallery_sqli.rb","maturity":"poc","reliabilityScore":0.5,"verified":false,"type":"remote","platforms":[],"requiresAuth":false,"exploitdb":null,"metasploit":{"fullname":"auxiliary/gather/wp_photo_gallery_sqli","rank":"300","rankName":"normal","postAuth":false,"check":true,"stability":["crash-safe"],"sideEffects":["ioc-in-logs"],"reliability":[]}}],"exploitCount":2,"weaknesses":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","description":"The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/89.html"}],"affected":[{"vendor":"10web","product":"photo_gallery","name":"photo gallery","label":"photo_gallery","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.6.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.6.0","eol":null,"hubHref":"/vendor/10web/photo_gallery"},{"vendor":"unknown","product":"photo gallery by 10web – mobile-friendly image gallery","name":"Photo Gallery by 10Web – Mobile-Friendly Image Gallery","label":"photo gallery by 10web – mobile-friendly image gallery","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.6.0, < 1.6.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.6.0, < 1.6.0","eol":null,"hubHref":"/vendor/unknown/photo_gallery_by_10web_-_mobile-friendly_image_gallery"},{"vendor":"wordpress","product":"photo-gallery","name":"Photo Gallery by 10Web – Mobile-Friendly Image Gallery","label":"photo-gallery","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.6.0","noFixRecorded":false,"fixedIn":"1.6.0"}],"versionsText":"< 1.6.0","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://wpscan.com/vulnerability/0b4d870f-eab8-4544-91f8-9c5f0538709c","label":"wpscan.com/vulnerability/0b4d870f-eab8-4544-91f8-9c5f0538709c","hostname":"wpscan.com","tags":["X Refsource MISC","Exploit","Third Party Advisory"]},{"url":"https://plugins.trac.wordpress.org/changeset/2672822/photo-gallery#file9","label":"plugins.trac.wordpress.org/changeset/2672822/photo-gallery","hostname":"plugins.trac.wordpress.org","tags":["X Refsource CONFIRM","Patch","Release Notes","Third Party Advisory"]},{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/d4ae4e05-cdbf-481f-abcc-9704e75ec8ad","label":"www.wordfence.com/threat-intel/vulnerabilities/id/d4ae4e05-cdbf-481f-abcc-9704e75ec8ad","hostname":"www.wordfence.com","tags":["Vendor Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-03-14T14:41:22.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-02T23:18:41.932Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T05:41:40.477Z","stale":false,"partial":false}}