Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. yeswiki/yeswiki
  4. ›
  5. CVE-2025-46346

CVE-2025-46346: YesWiki Stored XSS Vulnerability in Comments

April 29, 2025

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 */.

References

  • github.com/YesWiki/yeswiki
  • github.com/YesWiki/yeswiki/commit/0d4efc880a727599fa4f6d7a64cc967afe475530
  • github.com/YesWiki/yeswiki/security/advisories/GHSA-59x8-cvxh-3mm4
  • github.com/advisories/GHSA-59x8-cvxh-3mm4
  • nvd.nist.gov/vuln/detail/CVE-2025-46346

Code Behaviors & Features

Detect and mitigate CVE-2025-46346 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.5.4

Fixed versions

  • 4.5.4

Solution

Upgrade to version 4.5.4 or above.

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/yeswiki/yeswiki/CVE-2025-46346.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:29 +0000.