CVE-2025-24018
MEDIUM 5.4CVSS 3.1Authenticated Stored XSS in YesWiki
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.
- Published
- 21 Jan 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-79
- Also known as
- GHSA-w59h-3x3q-3p6j
- Sources
- NVDJSONOSV GHSA-w59h-3x3q-3p6jJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | yeswiki | yeswikicpe:2.3:a:yeswiki:yeswiki:*:*:*:*:*:*:*:* |
< 4.5.0 | 4.5.0 |
| OSV | Packagist | yeswiki/yeswiki | < 4.5.0 | 4.5.0 |
References
- https://github.com/YesWiki/yeswiki/blob/v4.4.5/tools/attach/libs/attach.lib.php#L660 · Product, WEB
- https://github.com/YesWiki/yeswiki/commit/c1e28b59394957902c31c850219e4504a20db98b · Patch, WEB
- https://github.com/YesWiki/yeswiki/security/advisories/GHSA-w59h-3x3q-3p6j · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-24018 · ADVISORY
- https://github.com/YesWiki/yeswiki · PACKAGE
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 21 Jan 2025)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 21 Jan 2025)