{"id":"CVE-2025-24018","published":"2025-01-21T17:02:04Z","modified":"2025-01-21T17:15:37Z","title":"YesWiki Vulnerable to Authenticated Stored XSS","vendor":"YesWiki","product":"yeswiki","tier":"tail","description":{"text":"YesWiki is a wiki system written in PHP. In versions up to and including 4.4.5, it is possible for an authenticated user with rights to edit/create a page or comment to trigger a stored XSS which will be reflected on any page where the resource is loaded. The vulnerability makes use of the content edition feature and more specifically of the `{{attach}}` component allowing users to attach files/medias to a page. When a file is attached using the `{{attach}}` component, if the resource contained in the `file` attribute doesn't exist, then the server will generate a file upload button containing the filename. This vulnerability allows any malicious authenticated user that has the right to create a comment or edit a page to be able to steal accounts and therefore modify pages, comments, permissions, extract user data (emails), thus impacting the integrity, availability and confidentiality of a YesWiki instance. Version 4.5.0 contains a patch for the issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00418,"percentile":0.36873,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/YesWiki/yeswiki/security/advisories/GHSA-w59h-3x3q-3p6j","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/YesWiki/yeswiki/commit/c1e28b59394957902c31c850219e4504a20db98b","tags":["x_refsource_MISC"]},{"url":"https://github.com/YesWiki/yeswiki/blob/v4.4.5/tools/attach/libs/attach.lib.php#L660","tags":["x_refsource_MISC"]}],"priority":{"score":12.7,"factors":[{"name":"EPSS percentile","points":7.37},{"name":"CVSS severity","points":5.32}]},"vendorSlug":"yeswiki","affectedVersions":[{"vendor":"YesWiki","product":"yeswiki","versions":["< 4.5.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-01-21T17:15:18.637531Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"yeswiki/yeswiki","vulnerableRanges":["<4.5.0"],"patched":["4.5.0"],"from":["GHSA-w59h-3x3q-3p6j"],"provenance":"source"}],"euvd":{"id":"EUVD-2025-0199","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-43091","published":"2022-03-25","fixed":"4.1.0","kev":false},{"cve":"CVE-2024-51478","published":"2024-10-31","fixed":"4.4.5","kev":false,"link":{"from":"CVE-2024-51478","to":"CVE-2025-24018","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:yeswiki/yeswiki","fromFixed":"4.4.5","toFixed":"4.5.0","daysApart":82}]}},{"cve":"CVE-2025-24017","published":"2025-01-21","fixed":"4.5.0","kev":false},{"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}],"package":"Packagist:yeswiki/yeswiki"}}