SecurityContext

CVE-2025-24018: YesWiki - Stored XSS

  • Cve: CVE-2025-24018
  • Name: YesWiki - Stored XSS
  • 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.
  • Impact: Attackers can steal accounts, modify content, extract user data, and compromise the integrity, availability, and confidentiality of the YesWiki instance.
  • Remediation: Update to version 4.5.0 or later.
  • Vulnerability type: stored_xss
  • Vulnerability impact: information_disclosure, data_tampering, client_script_exec, denial_of_service
  • Requirement type: logged_in
  • Requirements: Attacker needs rights to edit/create pages or comments
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.4
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00418
  • Epss percentile: 0.36599
  • Assignee: [email protected]
  • Published at: 2025-01-21T17:15:16Z
  • Age in days: 672
  • Modified at: 2026-06-17T08:57:53Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-24018
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

Public exploits

UrlSourceAdded date
https://github.com/YesWiki/yeswiki/security/advisories/GHSA-w59h-3x3q-3p6jnvd2025-01-21

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/YesWiki/yeswiki/commit/c1e28b59394957902c31c850219e4504a20db98bPatch
https://github.com/YesWiki/yeswiki/security/advisories/GHSA-w59h-3x3q-3p6jExploit, Vendor Advisory
https://github.com/YesWiki/yeswiki/blob/v4.4.5/tools/attach/libs/attach.lib.php#L660Product

Products

ProductAffectedPlatform boundSourcesUrl
yeswiki:yeswiki< 4.5.0nonvd/v1/products/yeswiki/yeswiki

Projects

RepositoryLink kindsIndexedUrl
YesWiki/yeswikicommit, fix, package, security_advisoryyes/v1/repositories/YesWiki/yeswiki

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2025-01-21
  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 16
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports