Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

GHSA-35f3-pg38-486f: YesWiki Vulnerable to Reflected XSS via Unescaped Archived-Revision `time` Parameter in `handlers/page/show.php`

0
Medium
Published: 07/09/2026 (07/09/2026, 21:00:55 UTC)
Source: GCVE Database
Product: yeswiki/yeswiki

Description

YesWiki versions from 4.1.0 up to but not including 4.6.6 are vulnerable to a reflected cross-site scripting (XSS) issue via the unescaped 'time' GET parameter in the archived revision view handler (handlers/page/show.php). The vulnerability occurs because the 'time' parameter is reflected into a hidden HTML input field without proper escaping, allowing an attacker to inject arbitrary JavaScript. Exploitation requires the victim to have both read and write access to the target page, although some default configurations may allow anonymous exploitation on public editable pages. The issue arises due to MySQL's coercion of malformed DATETIME strings, enabling the crafted payload to match an archived revision and be reflected unescaped in the response.

CVSS v3.1

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected software

Packagistghsa
yeswiki/yeswiki
Affected versions
>=4.1.0 <4.6.6

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/10/2026, 09:54:59 UTC

Technical Analysis

YesWiki's archived revision view reflects the 'time' GET parameter into a hidden input field in handlers/page/show.php without escaping, leading to a reflected XSS vulnerability. The 'time' parameter is used to load a specific archived revision by matching a DATETIME value in the database. MySQL's coercion of malformed DATETIME strings allows an attacker to append HTML/JavaScript to a valid timestamp, which still matches an archived revision row. The vulnerable code path is only triggered if the victim has both read and write access to the page, as the edit form for archived revisions is rendered only under these conditions. The vulnerability was validated on YesWiki doryphore 4.6.5. The reflected payload executes in the victim's browser when the crafted URL is visited, demonstrating improper neutralization of input during web page generation (CWE-80).

Potential Impact

An attacker can execute arbitrary JavaScript in the context of the victim's browser by injecting a crafted payload into the 'time' parameter. This reflected XSS can lead to session hijacking, credential theft, or other malicious actions within the victim's privileges on the YesWiki instance. Exploitation requires the victim to have read and write access to the target page, which may be available to authenticated users or, in some default configurations, even anonymous users on public editable pages.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict write access to trusted users only and avoid configurations that allow anonymous editing of public pages. Review and sanitize user input in the 'time' parameter before rendering it in HTML contexts, ideally applying proper escaping such as htmlspecialchars() to prevent XSS. Monitor vendor channels for updates and apply official patches once released.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-35f3-pg38-486f
Osv Schema Version
1.4.0
Aliases
["CVE-2026-52773"]
Ecosystems
["Packagist"]
Database Specific Severity
MODERATE
Cvss Version
3.1

Threat ID: 6a50ba7368715ace43580266

Added to database: 07/10/2026, 09:25:07 UTC

Last enriched: 07/10/2026, 09:54:59 UTC

Last updated: 07/10/2026, 09:54:59 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses