Live threats

All CVEs / Yeswiki

CVE-2025-24018Yeswiki

Medium 5.4

Priority
32
CVSS 3.1
5.4
EPSS
—
Auth required
Yes
Published
Jan 21, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Yeswiki.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist yeswiki/yeswiki < 4.5.0 4.5.0 composer require "yeswiki/yeswiki:^4.5.0"

Per OSV / GitHub Advisories (GHSA-w59h-3x3q-3p6j). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
yeswikiyeswiki< 4.5.0

Official sources

References

Links published by the sources. Open them with care.