Yeswiki Vulnerable to Authenticated Reflected Cross-site Scripting

Description

Summary

Vulnerable Version: Yeswiki < v4.5.4
Vulnerable Endpoint: /?PagePrincipale%2Fdeletepage
Vulnerable Parameter: incomingurl
Payload: &quot;&gt;&lt;script&gt;alert(1)&lt;/script&gt;

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.
1. Visit the endpoint as mentioned below and see that an alert box pops up:

URL with Payload: https://yeswiki.net/?PagePrincipale%2Fdeletepage&amp;incomingurl=&quot;&gt;&lt;script&gt;alert(1)&lt;/script&gt;

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.

Basic information

Type
reviewed
Severity
low
Advisory on GitHub
Open advisory ↗
Repository advisory
Open repository advisory ↗
Source code
Browse source ↗
Published (advisory)
2025-04-29 14:37:04 UTC
Updated
2025-04-29 20:27:26 UTC
GitHub reviewed
2025-04-29 14:37:04 UTC
NVD published
2025-04-29

EPSS Score

Score Percentile
0.20% 41.57%

CVSS Scores

Base score Version Severity Vector
3.8 3.1
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:H)
They need powerful rights—admin, root, or similar—before this pays off.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.

Identifiers

CWEs

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

Credits

  • masquerad3r (reporter)

Affected packages (1)

Vulnerable version ranges and first patched releases as published by GitHub.

Ecosystem Package Vulnerable range First patched Vulnerable functions
composer yeswiki/yeswiki < 4.5.4 4.5.4

References

cvelogic Threat Intelligence