{"schemaVersion":3,"id":"CVE-2026-5347","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"The HM Books Gallery plugin for WordPress is vulnerable to Missing Authorization in versions up to and including 4.8.0. This is due to the absence of capability checks and nonce verification in the admin_init hook that handles the permalink settings update at line 205-209 of wp-books-gallery.php. The vulnerable code checks only for the presence of the 'permalink_structure' POST parameter before updating the 'wbg_cpt_slug' option, without verifying that the request comes from an authenticated administrator. This makes it possible for unauthenticated attackers to modify the custom post type slug for the books gallery, which changes the URL structure for all book entries and can break existing links and SEO rankings.","dates":{"published":"2026-04-24T05:29:38.066Z","modified":"2026-04-24T12:03:11.676Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.3,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"wordfence","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00416,"percentile":0.34769,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.09299999999999999,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00323},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00416,"percentile":0.34769}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00416,"percentile":0.34769}]},"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":[],"exploitCount":0,"weaknesses":[{"id":"CWE-862","name":"Missing Authorization","description":"The product does not perform an authorization check when an actor attempts to access a resource or perform an action.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/862.html"}],"affected":[{"vendor":"mhmrajib","product":"wp books gallery – build stunning book showcases & libraries in minutes","name":"WP Books Gallery – Build Stunning Book Showcases & Libraries in Minutes","label":"wp books gallery – build stunning book showcases & libraries in minutes","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 4.8.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 4.8.0","eol":null,"hubHref":"/vendor/mhmrajib/wp_books_gallery_-_build_stunning_book_showcases__libraries_in_minutes"},{"vendor":"wordpress","product":"wp-books-gallery","name":"Books Gallery – Book Showcase, Library & Affiliate Plugin","label":"wp-books-gallery","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 4.8.0 (fixed in 4.8.1)","noFixRecorded":false,"fixedIn":"4.8.1"}],"versionsText":"≤ 4.8.0 (fixed in 4.8.1)","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/12bf1cd8-cd55-4771-b2bb-597797b1b949?source=cve","label":"www.wordfence.com/threat-intel/vulnerabilities/id/12bf1cd8-cd55-4771-b2bb-597797b1b949?source=cve","hostname":"www.wordfence.com","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/wp-books-gallery/trunk/wp-books-gallery.php#L207","label":"plugins.trac.wordpress.org/browser/wp-books-gallery/trunk/wp-books-gallery.php","hostname":"plugins.trac.wordpress.org","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/wp-books-gallery/tags/4.7.8/wp-books-gallery.php#L207","label":"plugins.trac.wordpress.org/browser/wp-books-gallery/tags/4.7.8/wp-books-gallery.php","hostname":"plugins.trac.wordpress.org","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/wp-books-gallery/trunk/wp-books-gallery.php#L206","label":"plugins.trac.wordpress.org/browser/wp-books-gallery/trunk/wp-books-gallery.php","hostname":"plugins.trac.wordpress.org","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/wp-books-gallery/tags/4.7.8/wp-books-gallery.php#L206","label":"plugins.trac.wordpress.org/browser/wp-books-gallery/tags/4.7.8/wp-books-gallery.php","hostname":"plugins.trac.wordpress.org","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/wp-books-gallery/tags/4.8.1/wp-books-gallery.php#L207","label":"plugins.trac.wordpress.org/browser/wp-books-gallery/tags/4.8.1/wp-books-gallery.php","hostname":"plugins.trac.wordpress.org","tags":[]},{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/12bf1cd8-cd55-4771-b2bb-597797b1b949","label":"www.wordfence.com/threat-intel/vulnerabilities/id/12bf1cd8-cd55-4771-b2bb-597797b1b949","hostname":"www.wordfence.com","tags":["Vendor Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-04-24T05:29:38.066Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-04-24T12:03:11.676Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":21,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T23:06:58.569Z","stale":false,"partial":false}}