Skip to content

CVE-2025-46346 YesWiki Vulnerable to Stored XSS in Comments

MediumCVSS 6.3 EPSS 0.53%
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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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
ProductAffected versionsFixed in
yeswiki = < 4.5.4 No fix listed
yeswiki < 4.5.4 4.5.4

References