CVE-2025-24017 YesWiki Vulnerable to Unauthenticated DOM Based XSS
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
- Technology
- PHP
Description
YesWiki is a wiki system written in PHP. Versions up to and including 4.4.5 are vulnerable to any end-user crafting a DOM based XSS on all of YesWiki's pages which is triggered when a user clicks on a malicious link. The vulnerability makes use of the search by tag feature. When a tag doesn't exist, the tag is reflected on the page and isn't properly sanitized on the server side which allows a malicious user to generate a link that will trigger an XSS on the client's side when clicked. This vulnerability allows any user to generate a malicious link that will trigger an account takeover when clicked, therefore allowing a user to steal other accounts, 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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| yeswiki | < 4.5.0; = < 4.5.0 | 4.5.0 | Fixed |
| yeswiki(Packagist) | < 4.5.0; <= 4.4.5; = 4.2.3; = v4.1.0 +17 more | 4.5.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| yeswiki(Packagist) | < 4.5.0 | 4.5.0 |
| yeswiki(Packagist) | = 4.2.3 | No fix listed |
| yeswiki(Packagist) | = v4.1.0 | No fix listed |
| yeswiki(Packagist) | = v4.1.1 | No fix listed |
| yeswiki(Packagist) | = v4.1.2 | No fix listed |
| yeswiki(Packagist) | = v4.1.3 | No fix listed |
| yeswiki(Packagist) | = v4.1.4 | No fix listed |
| yeswiki(Packagist) | = v4.1.5 | No fix listed |
| yeswiki(Packagist) | = v4.2.0 | No fix listed |
| yeswiki(Packagist) | = v4.2.1 | No fix listed |
| yeswiki(Packagist) | = v4.2.2 | No fix listed |
| yeswiki(Packagist) | = v4.2.4 | No fix listed |
| yeswiki(Packagist) | = v4.3 | No fix listed |
| yeswiki(Packagist) | = v4.3.1 | No fix listed |
| yeswiki(Packagist) | = v4.4.0 | No fix listed |
| yeswiki(Packagist) | = v4.4.1 | No fix listed |
| yeswiki(Packagist) | = v4.4.2 | No fix listed |
| yeswiki(Packagist) | = v4.4.3 | No fix listed |
| yeswiki(Packagist) | = v4.4.4 | No fix listed |
| yeswiki(Packagist) | = v4.4.5 | No fix listed |
| yeswiki(Packagist) | <= 4.4.5 | No fix listed |
| yeswiki | = < 4.5.0 | No fix listed |
| yeswiki | < 4.5.0 | 4.5.0 |
References
- https://github.com/YesWiki/yeswiki/security/advisories/GHSA-wphc-5f2j-jhvg exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/YesWiki/yeswiki/commit/c1e28b59394957902c31c850219e4504a20db98b patch
- github.com product
- github.com