CVE-2026-104466

YesWiki before 4.6.7 Stored XSS via Wakka Markdown Image src Attribute

Published Oct 2, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
Description
YesWiki before 4.6.7 contains a stored cross-site scripting vulnerability in formatters/wakka.php that allows users who can edit pages or post comments to inject event handlers by placing quotes in markdown image URLs. Attackers can store a crafted markdown image whose src breaks out of the attribute to add an onerror handler, executing JavaScript in viewers' browsers, including administrators.

Analysis

AI-generated

Technical impact

This vulnerability is a stored cross‑site scripting flaw in YesWiki before version 4.6.7. It exists in the formatters/wakka.php module and allows an attacker who can edit a page or post a comment to inject event handlers by inserting quote characters into markdown image URLs. The crafted markdown image breaks out of the src attribute and introduces an onerror handler that executes arbitrary JavaScript whenever a page is viewed, affecting all users including site administrators.

Affected Systems

All installations of YesWiki using the yeswiki product and running any version earlier than 4.6.7 are affected. The vulnerability applies to the default markdown image rendering mechanism provided by the wakka.php formatter.

Risk and Exploitability

The CVSS score of 5.1 classifies the flaw as moderate severity. No EPSS score is available, and the vulnerability is not listed in CISA’s KEV catalog, indicating it has not been confirmed in the wild yet. Exploitation requires an attacker to have write access to the target wiki, such as permission to edit pages or post comments. Once the malicious markdown image is stored, any user who views the affected page will have the injected JavaScript executed in their browser, leading to hijacked sessions, credential theft, or defacement.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade YesWiki to version 4.6.7 or newer to resolve the stored XSS flaw.
  • If an upgrade is not immediately possible, restrict edit and comment permissions to trusted users or disable user editing while a patch is applied.
  • Audit stored pages for malicious markdown image URLs and remove any that contain quoted src attributes or onerror handlers.

Generated by OpenCVE AI on October 2, 2026 at 13:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description YesWiki before 4.6.7 contains a stored cross-site scripting vulnerability in formatters/wakka.php that allows users who can edit pages or post comments to inject event handlers by placing quotes in markdown image URLs. Attackers can store a crafted markdown image whose src breaks out of the attribute to add an onerror handler, executing JavaScript in viewers' browsers, including administrators.
Title YesWiki before 4.6.7 Stored XSS via Wakka Markdown Image src Attribute
First Time appeared Yeswiki
Yeswiki yeswiki
Weaknesses CWE-79
CPEs cpe:2.3:a:yeswiki:yeswiki:*:*:*:*:*:*:*:*
Vendors & Products Yeswiki
Yeswiki yeswiki
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 2, 2026, 2:03 PM
Reserved
Oct 2, 2026, 12:55 AM
Status
Deferred
Published
Oct 2, 2026, 12:17 PM
Modified
Oct 2, 2026, 3:17 PM