{"schemaVersion":3,"id":"CVE-2024-35677","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in StylemixThemes MegaMenu allows PHP Local File Inclusion.This issue affects MegaMenu: from n/a through 2.3.12.","dates":{"published":"2024-06-10T15:46:27.722Z","modified":"2026-04-28T16:09:52.810Z","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":"CVE.org","score":9,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"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":"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.00542,"percentile":0.44464,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00542},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00542,"percentile":0.44464}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00542,"percentile":0.44464}]},"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-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"},{"id":"CWE-98","name":"Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')","description":"The PHP application receives input from an upstream component, but it does not restrict or incorrectly restricts the input before its usage in \"require,\" \"include,\" or similar functions.","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/98.html"}],"affected":[{"vendor":"stylemixthemes","product":"mega_menu","name":"mega menu","label":"mega_menu","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.3.13","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.3.13","eol":null,"hubHref":"/vendor/stylemixthemes/mega_menu"},{"vendor":"stylemixthemes","product":"megamenu","name":"MegaMenu","label":"megamenu","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ n/a, ≤ 2.3.12","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ n/a, ≤ 2.3.12","eol":null,"hubHref":"/vendor/stylemixthemes/megamenu"},{"vendor":"wordpress","product":"stm-megamenu","name":"MegaMenu","label":"stm-megamenu","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 2.3.12 (fixed in 2.3.13)","noFixRecorded":false,"fixedIn":"2.3.13"}],"versionsText":"≤ 2.3.12 (fixed in 2.3.13)","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://patchstack.com/database/vulnerability/stm-megamenu/wordpress-megamenu-plugin-2-3-12-unauthenticated-local-file-inclusion-vulnerability?_s_id=cve","label":"patchstack.com/database/…","hostname":"patchstack.com","tags":["VDB Entry","Third Party Advisory"]},{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/dee00cec-782a-406f-a918-c65cd80c56b0","label":"www.wordfence.com/threat-intel/vulnerabilities/id/dee00cec-782a-406f-a918-c65cd80c56b0","hostname":"www.wordfence.com","tags":["Vendor Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2024-06-10T15:46:27.722Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-04-28T16:09:52.810Z","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-20T17:43:58.786Z","stale":false,"partial":false}}