{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-51582 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-51582 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-51582 is a high-severity path traversal vulnerability in ThimPress WP Hotel Booking, published on 4 Nov 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-51582 and fix it if it is affected.\n\nWhat it is: CVE-2024-51582 is a high-severity path traversal vulnerability in ThimPress WP Hotel Booking, published on 4 Nov 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-51582 in the wild and no public exploit code.\n\nAffected product: ThimPress WP Hotel Booking. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-51582/ (Markdown: https://insights.sbomify.com/CVE-2024-51582/index.md)","id":"CVE-2024-51582","markdown":"https://insights.sbomify.com/CVE-2024-51582/index.md","name":"CVE-2024-51582","record":{"aliases":["GHSA-gpj2-23jf-pgq2"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["data_read","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"WordPress plugin","requires_auth":"low_privilege","summary":"Attackers can exploit a path traversal flaw in the WP Hotel Booking plugin to include arbitrary local files, potentially leading to code execution.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Patchstack","cpe":[{"product":"wp_hotel_booking","vendor":"thimpress"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-35","name":"Path Traversal: '.../...//'"}],"description":"Path Traversal: '.../...//' vulnerability in ThimPress WP Hotel Booking wp-hotel-booking allows PHP Local File Inclusion.This issue affects WP Hotel Booking: from n/a through \u003c= 2.2.9.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"WordPress WP Hotel Booking plugin \u003c= 2.2.9 - Local File Inclusion vulnerability","id":"CVE-2024-51582","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"WordPress Kento Ads Rotator plugin \u003c= 1.3 - Cross Site Scripting (XSS) vulnerability","id":"CVE-2024-51583"},"packages":[],"prev":{"headline":"WordPress Restaurant \u0026 Cafe Addon for Elementor plugin \u003c= 1.5.6 - Cross Site Scripting (XSS) vulnerability","id":"CVE-2024-51581"},"products":["WP Hotel Booking"],"published":"2024-11-04","related":[{"cvss_score":10,"headline":"WP Hotel Booking \u003c= 2.1.0 - Unauthenticated SQL Injection","id":"CVE-2024-3605","kev_date_added":null,"published":"2024-06-20"},{"cvss_score":9.8,"headline":"WP Hotel Booking \u003c 2.0.8 - Unauthenticated SQLi","id":"CVE-2023-5652","kev_date_added":null,"published":"2023-11-20"},{"cvss_score":9.8,"headline":"Deserialization in n/a","id":"CVE-2020-29047","kev_date_added":null,"published":"2021-03-03"},{"cvss_score":8.8,"headline":"WP Hotel Booking \u003c= 2.1.2 - Authenticated (Subscriber+) Arbitrary File Upload","id":"CVE-2024-7855","kev_date_added":null,"published":"2024-10-02"},{"cvss_score":6.5,"headline":"WordPress WP Hotel Booking plugin \u003c= 2.0.9.2 - Broken Access Control vulnerability","id":"CVE-2024-30508","kev_date_added":null,"published":"2024-03-29"},{"cvss_score":5.4,"headline":"WP Hotel Booking \u003c 2.0.8 - Subscriber+ Arbitrary Post Deletion","id":"CVE-2023-5651","kev_date_added":null,"published":"2023-11-20"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-05-11","vendors":["ThimPress"]},"summary":"Attackers can exploit a path traversal flaw in the WP Hotel Booking plugin to include arbitrary local files, potentially leading to code execution.","url":"https://insights.sbomify.com/CVE-2024-51582/"}