CVE-2025-46346 YesWiki Vulnerable to Stored XSS in Comments
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- PHP
Description
YesWiki is a wiki system written in PHP. Prior to version 4.5.4, a stored cross-site scripting (XSS) vulnerability was discovered in the application’s comments feature. This issue allows a malicious actor to inject JavaScript payloads that are stored and later executed in the browser of any user viewing the affected comment. The XSS occurs because the application fails to properly sanitize or encode user input submitted to the comments. Notably, the application sanitizes or does not allow execution of <script> tags, but does not account for payloads obfuscated using JavaScript block comments like /* JavaScriptPayload */. This issue has been patched in version 4.5.4.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| yeswiki | < 4.5.4; = < 4.5.4 | 4.5.4 | Fixed |
| yeswiki(Packagist) | < 4.5.4; <= 4.5.3; = 4.2.3; = v4.1.0 +21 more | 4.5.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| yeswiki(Packagist) | < 4.5.4 | 4.5.4 |
| 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) | = v4.5.0 | No fix listed |
| yeswiki(Packagist) | = v4.5.1 | No fix listed |
| yeswiki(Packagist) | = v4.5.2 | No fix listed |
| yeswiki(Packagist) | = v4.5.3 | No fix listed |
| yeswiki(Packagist) | <= 4.5.3 | No fix listed |
Show 2 more
| Product | Affected versions | Fixed in |
|---|---|---|
| yeswiki | = < 4.5.4 | No fix listed |
| yeswiki | < 4.5.4 | 4.5.4 |
References
- https://github.com/YesWiki/yeswiki/security/advisories/GHSA-59x8-cvxh-3mm4 exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/YesWiki/yeswiki/commit/0d4efc880a727599fa4f6d7a64cc967afe475530 patch
- github.com product
- github.com