# CVE-2025-24018: YesWiki Vulnerable to Authenticated Stored XSS

- Severity: High 7.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L`
- 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.42%, higher than 38% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-01-21T17:02:04.924Z
- Modified: 2026-09-10T03:50:22.257Z
- Also known as: GHSA-w59h-3x3q-3p6j
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

YesWiki is a wiki system written in PHP. In versions up to and including 4.4.5, it is possible for an authenticated user with rights to edit/create a page or comment to trigger a stored XSS which will be reflected on any page where the resource is loaded. The vulnerability makes use of the content edition feature and more specifically of the `{{attach}}` component allowing users to attach files/medias to a page. When a file is attached using the `{{attach}}` component, if the resource contained in the `file` attribute doesn't exist, then the server will generate a file upload button containing the filename. This vulnerability allows any malicious authenticated user that has the right to create a comment or edit a page to be able to steal accounts and therefore 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.

(As written by CVE List.)

## Affected

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

## Every score

- GitHub_M: CVSS:3.1 7.6 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L`
- GitHub: CVSS:3.1 7.6 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L`
- 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-w59h-3x3q-3p6j> (exploit, vendor-advisory, web)
- <https://github.com/YesWiki/yeswiki/commit/c1e28b59394957902c31c850219e4504a20db98b> (patch, web)
- <https://github.com/YesWiki/yeswiki/blob/v4.4.5/tools/attach/libs/attach.lib.php#L660> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-24018> (advisory)
- <https://github.com/YesWiki/yeswiki> (package)

## Sources

- CVE List: [CVE-2025-24018](https://www.cve.org/CVERecord?id=CVE-2025-24018), CVE Terms of Use, modified 2025-01-21
- GitHub Advisory Database: [GHSA-w59h-3x3q-3p6j](https://github.com/advisories/GHSA-w59h-3x3q-3p6j), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-24018](https://nvd.nist.gov/vuln/detail/CVE-2025-24018), Public domain, modified 2026-06-17

---

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