CVE-2026-116202

YesWiki before 4.7.0 Stored XSS via ImageField SVG Upload

Published Oct 25, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
Description
YesWiki before 4.7.0 contains a stored cross-site scripting vulnerability that allows low-privilege authenticated users to upload unsanitized SVG files through the bazar ImageField class. Attackers can submit a malicious SVG via the image field of the entries API, which is served as image/svg+xml and executes script for users viewing the entry or file.

Analysis

AI-generated

Technical impact

YesWiki prior to version 4.7.0 allows a low‑privilege authenticated user to upload an SVG file that is delivered as an image/svg+xml response and executed by browsers that view the entry or the file, resulting in stored cross‑site scripting. The vulnerability stems from insufficient sanitization of the SVG content in the ImageField API, enabling arbitrary client‑side script injection. Attackers can place malicious JavaScript inside the SVG, which will run in the context of any user who opens the entry or the file, potentially enabling session hijacking or defacement.

Affected Systems

Vulnerable systems are deployments of YesWiki (yeswiki:yeswiki) with any version earlier than 4.7.0. Users of these installations with permission to add or edit entries can upload the malicious SVG. The issue does not affect newer releases that implement proper validation.

Risk and Exploitability

The CVSS base score of 5.1 indicates a moderate severity. The EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog, suggesting a comparatively low exploitation probability at present. However, the attack requires only authenticated access with upload rights, which is a common privilege level on community sites. Because the flaw is a stored XSS, the impact is limited to confidentiality, integrity and availability of the user’s browsing session; it does not grant remote code execution on the host. The moderate severity and the fact that exploitation requires moderate privileges recommend urgent patching.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade YesWiki to version 4.7.0 or newer.
  • If an immediate upgrade is not possible, restrict the allowed file types in the ImageField configuration to exclude SVG uploads for non‑admin users.
  • Configure the web server to reject or encode image/svg+xml uploads so that browsers treat them as plain files rather than executing script content.

Generated by OpenCVE AI on October 25, 2026 at 17:13 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.7.0 contains a stored cross-site scripting vulnerability that allows low-privilege authenticated users to upload unsanitized SVG files through the bazar ImageField class. Attackers can submit a malicious SVG via the image field of the entries API, which is served as image/svg+xml and executes script for users viewing the entry or file.
Title YesWiki before 4.7.0 Stored XSS via ImageField SVG Upload
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:N/VI:N/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 29, 2026, 4:20 PM
Reserved
Oct 25, 2026, 12:27 PM
Status
Deferred
Published
Oct 25, 2026, 2:17 PM
Modified
Oct 29, 2026, 5:18 PM