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

- Severity: Medium 6.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 31% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-04-29T14:49:12.000Z
- Modified: 2026-09-10T03:50:23.530Z
- Also known as: GHSA-59x8-cvxh-3mm4
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- YesWiki yeswiki: < 4.5.4; before 4.5.4
- yeswiki/yeswiki (Packagist): before 4.5.4

## Every score

- GitHub_M: CVSS:4.0 6.3 Medium `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`
- GitHub: CVSS:4.0 Low `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/YesWiki/yeswiki/security/advisories/GHSA-59x8-cvxh-3mm4> (exploit, vendor-advisory, web)
- <https://github.com/YesWiki/yeswiki/commit/0d4efc880a727599fa4f6d7a64cc967afe475530> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-46346> (advisory)
- <https://github.com/YesWiki/yeswiki> (package)

## Sources

- CVE List: [CVE-2025-46346](https://www.cve.org/CVERecord?id=CVE-2025-46346), CVE Terms of Use, modified 2025-04-29
- GitHub Advisory Database: [GHSA-59x8-cvxh-3mm4](https://github.com/advisories/GHSA-59x8-cvxh-3mm4), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-46346](https://nvd.nist.gov/vuln/detail/CVE-2025-46346), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-46346 · Whole record: https://cve.day/CVE-2025-46346.json · Rebuilt by cve.day 2026-11-25T22:58:57.109Z
