{"id":"CVE-2025-46346","published":"2025-04-29T15:36:14Z","modified":"2025-04-29T17:47:55Z","title":"YesWiki Vulnerable to Stored XSS in Comments","vendor":"YesWiki","product":"yeswiki","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:N/SI:H/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00357,"percentile":0.30097,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/YesWiki/yeswiki/security/advisories/GHSA-59x8-cvxh-3mm4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/YesWiki/yeswiki/commit/0d4efc880a727599fa4f6d7a64cc967afe475530","tags":["x_refsource_MISC"]}],"priority":{"score":10.4,"factors":[{"name":"EPSS percentile","points":6.02},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"yeswiki","affectedVersions":[{"vendor":"YesWiki","product":"yeswiki","versions":["< 4.5.4"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-04-29T17:47:34.389811Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"yeswiki/yeswiki","vulnerableRanges":["<4.5.4"],"patched":["4.5.4"],"from":["GHSA-59x8-cvxh-3mm4"],"provenance":"source"}],"summary":{"text":"The flaw is a stored cross-site scripting vulnerability in the comments feature of YesWiki, a PHP wiki system, where user input submitted to comments is not properly sanitized or encoded. An attacker who submits a comment containing JavaScript obfuscated with block comments (such as /* ... */), which bypasses the filtering that blocks plain script tags, can have that payload execute in the browser of any user who views the affected comment, and this requires only that the attacker can submit a comment and that a victim interacts with the page where it is displayed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:02:30Z"},"euvd":{"id":"EUVD-2025-12628","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-yeswiki-cve-2025-46346","children":[{"from":"CVE-2025-46346","to":"CVE-2025-46347","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["tools/templates/controllers/ApiController.php"],"commits":["https://github.com/YesWiki/yeswiki/commit/0d4efc880a727599fa4f6d7a64cc967afe475530","https://github.com/YesWiki/yeswiki/commit/8fe5275a78dc7e0f9c242baa3cbac6b5ac1cc066"],"basis":"shared function","functions":["deleteCustomCSSPreset"]}]}]}}