{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-2554 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-2554 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-2554 is a medium-severity path traversal vulnerability in Unknown Enable Media Replace, published on 10 Oct 2022. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-2554 and fix it if it is affected.\n\nWhat it is: CVE-2022-2554 is a medium-severity path traversal vulnerability in Unknown Enable Media Replace, published on 10 Oct 2022. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-2554 in the wild and no public exploit code.\n\nAffected product: Unknown Enable Media Replace. 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-2022-2554/ (Markdown: https://insights.sbomify.com/CVE-2022-2554/index.md)","id":"CVE-2022-2554","markdown":"https://insights.sbomify.com/CVE-2022-2554/index.md","name":"CVE-2022-2554","record":{"aliases":["GHSA-pr9x-p233-rm4x"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["data_modify","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"WordPress plugin","requires_auth":"high_privilege","summary":"Admins can exploit path traversal to move files outside the upload directory, potentially enabling code execution or data modification.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"WPScan","cpe":[{"product":"enable_media_replace","vendor":"shortpixel"}],"cvss":{"score":4.9,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"The Enable Media Replace WordPress plugin before 4.0.0 does not ensure that renamed files are moved to the Upload folder, which could allow high privilege users such as admin to move them outside to the web root directory via a path traversal attack for example","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":"Enable Media Replace \u003c 4.0.0 - Admin+ Path Traversal","id":"CVE-2022-2554","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2022"},"n_packages":0,"n_references":1,"next":{"headline":"Yotpo Reviews for WooCommerce \u003c= 2.0.4 - Arbitrary Settings Update via CSRF","id":"CVE-2022-2555"},"packages":[],"prev":{"headline":"Auth bypass in Booth","id":"CVE-2022-2553"},"products":["Enable Media Replace"],"published":"2022-10-10","related":[{"cvss_score":8.8,"headline":"Enable Media Replace \u003c 4.1.3 - Author+ PHP Object Injection","id":"CVE-2023-4643","kev_date_added":null,"published":"2023-10-16"},{"cvss_score":8.8,"headline":"Enable Media Replace \u003c 4.0.2 - Author+ Arbitrary File Upload","id":"CVE-2023-0255","kev_date_added":null,"published":"2023-02-13"},{"cvss_score":4.7,"headline":"Enable Media Replace \u003c= 4.1.4 - Reflected Cross-Site Scripting","id":"CVE-2023-6737","kev_date_added":null,"published":"2024-01-11"}],"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["Unknown"]},"summary":"Admins can exploit path traversal to move files outside the upload directory, potentially enabling code execution or data modification.","url":"https://insights.sbomify.com/CVE-2022-2554/"}