CVE-2025-24018 Details
Description
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.
A stored cross-site scripting vulnerability has been identified in YesWiki versions through 4.4.5. This issue allows authenticated users with permission to edit or create pages and comments to inject malicious scripts. The vulnerability arises from improper sanitization of file names in the 'attach' component, which is used to upload files or media to pages. When a non-existent file is referenced, the server generates a file upload button that includes the file name, creating an opportunity for script injection. Exploiting this vulnerability could lead to account takeover by stealing password reset links through the injected script, according to the vulnerability advisory.
Users can update to YesWiki version 4.5.0, which addresses this vulnerability by properly sanitizing file names before they are displayed. Additionally, it is recommended to implement a stronger password reset mechanism and a robust Content Security Policy to mitigate potential cross-site scripting risks.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 21, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| yeswiki yeswiki | < 4.5.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 9, 2025 | Initial Analysis | [email protected] |
| Jan 21, 2025 | CVE Modified | CISA-ADP |
| Jan 21, 2025 | New CVE Received | [email protected] |