Yeswiki Vulnerable to Authenticated Reflected Cross-site Scripting
Summary
Vulnerable Version: Yeswiki < v4.5.4
Vulnerable Endpoint: /?PagePrincipale%2Fdeletepage
Vulnerable Parameter: incomingurl
Payload: "><script>alert(1)</script>
Details
Reflected Cross-Site Scripting (XSS) attacks are a type of injection, in which malicious scripts are injected into otherwise benign and trusted websites. XSS attacks occur when an attacker uses a web application to send malicious code, generally in the form of a browser-side script, to a different end user. Flaws that allow these attacks to succeed are quite widespread and occur anywhere a web application uses input from a user within the output it generates without validating or encoding it.
PoC
NOTE: This vulnerability requires admin access.
-
Visit the endpoint as mentioned below and see that an alert box pops up:
URL with Payload:
https://yeswiki.net/?PagePrincipale%2Fdeletepage&incomingurl="><script>alert(1)</script>
Impact
An attacker can use a reflected cross-site scripting attack to steal cookies from an authenticated user by having them click on a malicious link. Stolen cookies allow the attacker to take over the user’s session. This vulnerability may also allow attackers to deface the website or embed malicious content.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | yeswiki/yeswiki | < 4.5.4 | 4.5.4 |
References
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N- Weakness (CWE)
CWE-79- Platform
- Composer
- Package
yeswiki/yeswiki- Disclosed
- 29.04.2025
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-cg4f-cq8h-3ch8 - CC BY 4.0
Vulnerability history: yeswiki/yeswiki
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 31
- First → latest
- 03.2022 07.2026
- Without a fix
- 2
- Exploited in attacks
- 0
Severity breakdown
- Critical 5
- High 16
- Medium 8
- Low 2
Disclosures per year
- 2022: 1
- 2023: 0
- 2024: 1
- 2025: 12
- 2026: 17
-
Yeswiki Vulnerable to Authenticated Reflected Cross-site Scripting this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.