CVE-2025-24018 json
YesWiki Vulnerable to Authenticated Stored XSS
published 2025-01-21 21 mo ago modified 2026-09-10 1 mo ago also EUVD-2025-0199 , GHSA-w59h-3x3q-3p6j
- cvss
- 7.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 36%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 21 mo ago
Exploit prediction
0.42% chance of exploitation in the next 30 days, higher than 36% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/YesWiki/yeswiki/security/advisories/GHSA-w59h-3x3q-3p6j referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L |
| GitHub | 3.1 | 7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L |
| NVD | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | yeswiki/yeswiki | <4.5.0 |
4.5.0 |
Affected products
- YesWiki yeswiki
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/YesWiki/yeswiki/commit/c1e28b59394957902c31c850219e4504a20db98b
web, patch
-
github.com
/YesWiki/yeswiki/security/advisories/GHSA-w59h-3x3q-3p6j
exploit, web, vendor-advisory
-
github.com
/YesWiki/yeswiki/blob/v4.4.5/tools/attach/libs/attach.lib.php#L660
web, product
-
nvd.nist.gov
/vuln/detail/CVE-2025-24018
advisory
-
github.com
/YesWiki/yeswiki
package
Sources
- CVE List CVE-2025-24018
- GitHub Advisory GHSA-w59h-3x3q-3p6j
- NVD CVE-2025-24018
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.