{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-4031 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-4031 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-4031 is a low-severity path traversal vulnerability in simplepress Simple:Press Forum, published on 29 Nov 2022. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-4031 and fix it if it is affected.\n\nWhat it is: CVE-2022-4031 is a low-severity path traversal vulnerability in simplepress Simple:Press Forum, published on 29 Nov 2022. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-4031 in the wild and no public exploit code.\n\nAffected product: simplepress Simple:Press Forum. 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-4031/ (Markdown: https://insights.sbomify.com/CVE-2022-4031/index.md)","id":"CVE-2022-4031","markdown":"https://insights.sbomify.com/CVE-2022-4031/index.md","name":"CVE-2022-4031","record":{"aliases":["GHSA-jxgp-hq49-3gq9"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"WordPress plugin","requires_auth":"high_privilege","summary":"Administrators can modify arbitrary files on the server via path traversal in the Simple:Press WordPress plugin.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Wordfence","cpe":[{"product":"simple\\","vendor":"simple-press"}],"cvss":{"score":3.8,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"The Simple:Press plugin for WordPress is vulnerable to arbitrary file modifications in versions up to, and including, 6.8 via the 'file' parameter which does not properly restrict files to be edited in the context of the plugin. This makes it possible with attackers, with high-level permissions such as an administrator, to supply paths to arbitrary files on the server that can be modified outside of the intended scope of the plugin.","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":"Simple:Press \u003c= 6.8 - Authenticated (Admin+) Path Traversal to Arbitrary File Modification","id":"CVE-2022-4031","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2022"},"n_packages":0,"n_references":3,"next":{"headline":"Quiz and Survey Master \u003c= 8.0.4 - Unauthenticated iFrame Injection via Paragraph and Short Answer","id":"CVE-2022-4032"},"packages":[],"prev":{"headline":"Simple:Press \u003c= 6.8 - Authenticated (Subscriber+) Path Traversal to Arbitrary File Deletion","id":"CVE-2022-4030"},"products":["Simple:Press Forum"],"published":"2022-11-29","related":[{"cvss_score":9.8,"headline":"Simple:Press – WordPress Forum Plugin \u003c= 6.6.0 - Arbitrary File Upload","id":"CVE-2020-36706","kev_date_added":null,"published":"2023-10-20"},{"cvss_score":8.1,"headline":"Simple:Press \u003c= 6.8 - Authenticated (Subscriber+) Path Traversal to Arbitrary File Deletion","id":"CVE-2022-4030","kev_date_added":null,"published":"2022-11-29"},{"cvss_score":7.2,"headline":"Simple:Press \u003c= 6.8 - Unauthenticated Stored Cross-Site Scripting via Forum Replies","id":"CVE-2022-4027","kev_date_added":null,"published":"2022-11-29"},{"cvss_score":6.4,"headline":"Simple:Press \u003c= 6.8 - Authenticated (Subscriber+) Stored Cross-Site Scripting via Profile Signatures","id":"CVE-2022-4028","kev_date_added":null,"published":"2022-11-29"},{"cvss_score":4.7,"headline":"Simple:Press \u003c= 6.8 - Reflected Cross-Site Scripting via Cookie Value","id":"CVE-2022-4029","kev_date_added":null,"published":"2022-11-29"}],"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":"partial"},"state":"PUBLISHED","updated":"2026-04-08","vendors":["simplepress"]},"summary":"Administrators can modify arbitrary files on the server via path traversal in the Simple:Press WordPress plugin.","url":"https://insights.sbomify.com/CVE-2022-4031/"}