{"id":"CVE-2025-31131","published":"2025-04-01T14:56:45Z","modified":"2025-04-01T16:11:20Z","title":"Path Traversal allowing arbitrary read of files in Yeswiki","vendor":"YesWiki","product":"yeswiki","tier":"tail","description":{"text":"YesWiki is a wiki system written in PHP. The squelette parameter is vulnerable to path traversal attacks, enabling read access to arbitrary files on the server. This vulnerability is fixed in 4.5.2.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0536,"percentile":0.93413,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/YesWiki/yeswiki/security/advisories/GHSA-w34w-fvp3-68xm","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/YesWiki/yeswiki/commit/f78c915369a60c74ab8f38561ae93a4aaca9b989","tags":["x_refsource_MISC"]}],"priority":{"score":29.7,"factors":[{"name":"EPSS percentile","points":18.68},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.02}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2025-04-07"},"pocGithub":{"count":3,"skipped":0,"earliest":"2025-04-04","earliestUrl":"https://github.com/MuhammadWaseem29/CVE-2025-31131","repos":[{"name":"MuhammadWaseem29/CVE-2025-31131","url":"https://github.com/MuhammadWaseem29/CVE-2025-31131","stars":2,"created":"2025-04-04"},{"name":"gmh5225/Blackash-CVE-2025-31131","url":"https://github.com/gmh5225/Blackash-CVE-2025-31131","stars":0,"created":"2025-06-07"},{"name":"alinaclark672377250/CVE-2025-31131","url":"https://github.com/alinaclark672377250/CVE-2025-31131","stars":0,"created":"2026-11-13"}]},"nuclei":[{"id":"CVE-2025-31131","name":"Yeswiki < 4.5.2 - Unauthenticated Path Traversal","severity":"high","path":"http/cves/2025/CVE-2025-31131.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-31131.yaml"}],"first":{"date":"2025-04-04","source":"PoC-in-GitHub","url":"https://github.com/MuhammadWaseem29/CVE-2025-31131"},"provenance":"source"},"vendorSlug":"yeswiki","affectedVersions":[{"vendor":"YesWiki","product":"yeswiki","versions":["< 4.5.2"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-04-01T16:09:50.000638Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"yeswiki/yeswiki","vulnerableRanges":["<4.5.2"],"patched":["4.5.2"],"from":["GHSA-w34w-fvp3-68xm"],"provenance":"source"}],"summary":{"text":"The path traversal flaw lives in YesWiki, a PHP wiki system, where the squelette parameter fails to restrict pathnames to an intended directory. An attacker with network access can read arbitrary files on the server without authentication, user interaction, or any special configuration.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T04:02:51Z"},"euvd":{"id":"EUVD-2025-9333","exploited":false,"provenance":"source"},"exploits":[{"id":52135,"url":"https://www.exploit-db.com/exploits/52135","title":"YesWiki 4.5.1 - Unauthenticated Path Traversal","date":"2025-04-07","verified":false,"provenance":"source"}],"lineage":{"packageHistory":[{"cve":"CVE-2025-24017","published":"2025-01-21","fixed":"4.5.0","kev":false,"link":{"from":"CVE-2025-24017","to":"CVE-2025-31131","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:yeswiki/yeswiki","fromFixed":"4.5.0","toFixed":"4.5.2","daysApart":70}]}},{"cve":"CVE-2025-24018","published":"2025-01-21","fixed":"4.5.0","kev":false},{"cve":"CVE-2025-24019","published":"2025-01-21","fixed":"4.5.0","kev":false},{"cve":"CVE-2025-31131","published":"2025-04-01","fixed":"4.5.2","kev":false},{"cve":"CVE-2025-46346","published":"2025-04-29","fixed":"4.5.4","kev":false},{"cve":"CVE-2025-46347","published":"2025-04-29","fixed":"4.5.4","kev":false},{"cve":"CVE-2025-46348","published":"2025-04-29","fixed":"4.5.4","kev":false}],"package":"Packagist:yeswiki/yeswiki"}}