7.6
HIGH
CVE-2025-24018
"YesWiki Authenticated User Stored XSS"
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.

INFO

Published Date :

Jan. 21, 2025, 5:15 p.m.

Last Modified :

May 9, 2025, 2:02 p.m.

Remotely Exploitable :

Yes !

Impact Score :

4.7

Exploitability Score :

2.8
Affected Products

The following products are affected by CVE-2025-24018 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Yeswiki yeswiki
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2025-24018.

URL Resource
https://github.com/YesWiki/yeswiki/blob/v4.4.5/tools/attach/libs/attach.lib.php#L660 Product
https://github.com/YesWiki/yeswiki/commit/c1e28b59394957902c31c850219e4504a20db98b Patch
https://github.com/YesWiki/yeswiki/security/advisories/GHSA-w59h-3x3q-3p6j Exploit Vendor Advisory
https://github.com/YesWiki/yeswiki/security/advisories/GHSA-w59h-3x3q-3p6j Exploit Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-24018 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2025-24018 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    May. 09, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
    Added CPE Configuration OR *cpe:2.3:a:yeswiki:yeswiki:*:*:*:*:*:*:*:* versions up to (excluding) 4.5.0
    Added Reference Type GitHub, Inc.: https://github.com/YesWiki/yeswiki/blob/v4.4.5/tools/attach/libs/attach.lib.php#L660 Types: Product
    Added Reference Type GitHub, Inc.: https://github.com/YesWiki/yeswiki/commit/c1e28b59394957902c31c850219e4504a20db98b Types: Patch
    Added Reference Type CISA-ADP: https://github.com/YesWiki/yeswiki/security/advisories/GHSA-w59h-3x3q-3p6j Types: Exploit, Vendor Advisory
    Added Reference Type GitHub, Inc.: https://github.com/YesWiki/yeswiki/security/advisories/GHSA-w59h-3x3q-3p6j Types: Exploit, Vendor Advisory
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Jan. 21, 2025

    Action Type Old Value New Value
    Added Reference https://github.com/YesWiki/yeswiki/security/advisories/GHSA-w59h-3x3q-3p6j
  • New CVE Received by [email protected]

    Jan. 21, 2025

    Action Type Old Value New Value
    Added 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.
    Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L
    Added CWE CWE-79
    Added Reference https://github.com/YesWiki/yeswiki/blob/v4.4.5/tools/attach/libs/attach.lib.php#L660
    Added Reference https://github.com/YesWiki/yeswiki/commit/c1e28b59394957902c31c850219e4504a20db98b
    Added Reference https://github.com/YesWiki/yeswiki/security/advisories/GHSA-w59h-3x3q-3p6j
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-24018 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2025-24018 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
© cvefeed.io
Latest DB Update: Jun. 08, 2025 22:38