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-89v6-j5x6-cmj3: YesWiki: SQL injection via the `recentchanges` action `period` argument leads to arbitrary DB read

0
Medium
Published: 07/09/2026 (07/09/2026, 20:54:46 UTC)
Source: GCVE Database
Product: yeswiki/yeswiki

Description

YesWiki versions prior to 4.6.6 contain a stored SQL injection vulnerability in the recentchanges action's period argument when invoked via the action invocation syntax. The vulnerability arises because the period parameter from the action invocation is not validated or escaped before being interpolated into an SQL query, allowing an attacker who can save a specially crafted page to execute arbitrary SQL queries. This leads to arbitrary database read access for any user viewing the malicious page. The default configuration allows anonymous users to exploit this via the page-edit flow.

CVSS v3.1

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

Affected software

Packagistghsa
yeswiki/yeswiki
Affected versions
<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:56:48 UTC

Technical Analysis

The recentchanges action in YesWiki improperly handles the period argument from the action invocation parameter space, bypassing whitelist validation applied only to the URL query parameter. This unvalidated input is directly interpolated into a SQL query in PageManager::getRecentlyChanged() without escaping or parameter binding, enabling UNION-based SQL injection. Because the injection is stored in a page, any user viewing that page triggers the injection and sees exfiltrated data rendered as page links. The default write ACL allows anonymous users to save such a trigger page, making the vulnerability broadly exploitable.

Potential Impact

An attacker with permission to save pages (including anonymous users on default installs) can inject SQL code that is executed whenever the page is viewed, resulting in arbitrary read access to the YesWiki database. This can expose sensitive data such as user credentials or other confidential information accessible to the database user. The vulnerability does not allow modification or deletion of data, only reading.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict write permissions to trusted users only to prevent injection of malicious recentchanges action parameters. Avoid using the recentchanges action with untrusted input in page content. Monitor vendor channels for an official patch.

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-89v6-j5x6-cmj3
Osv Schema Version
1.4.0
Aliases
["CVE-2026-52763"]
Ecosystems
["Packagist"]
Database Specific Severity
MODERATE
Cvss Version
3.1

Threat ID: 6a50ba7468715ace4358035f

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

Last enriched: 07/10/2026, 09:56:48 UTC

Last updated: 07/10/2026, 09:56:48 UTC

Views: 3

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