Vulnerabilities · 2025 · Yeswiki
CVE-2025-24018
Yeswiki vulnerability
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.
Affected products
Yeswiki. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Yeswiki runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/YesWiki/yeswiki/security/advisories/GHSA-w59h-3x3q-3p6j · Exploit
- github.com/YesWiki/yeswiki/commit/c1e28b59394957902c31c850219e4504a20db98b · Patch
- github.com/YesWiki/yeswiki/blob/v4.4.5/tools/attach/libs/attach.lib.php#L660
- nvd.nist.gov/vuln/detail/CVE-2025-24018
- github.com/advisories/GHSA-w59h-3x3q-3p6j
- nvd.nist.gov/vuln/detail/CVE-2025-24018
- cve.org/CVERecord?id=CVE-2025-24018
More vulnerabilities in Yeswiki products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.