CVE-2026-52774

MEDIUMPre-NVD 6.16.1
EchelonGraph scoreLOW confidence

This medium-severity CVE scores 6.1 under the CNA's CVSS (NVD's own analysis pending). EPSS exploit-prediction score not yet available (the EPSS model rescores nightly; freshly-published CVEs typically appear within 48 hours). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).

Triggered by: NVD CVSS baseline
Sources: cna:github_m
Elevated
6.1
EchelonGraph verdictMonitorLow exploitation likelihood right now — keep watching.
  • Lower severity and no public exploit yet
CISA-KEV: Not listedEPSS: CVSS: 6.1Exploit: NoneExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

YesWiki Vulnerable to Reflected XSS via Unescaped id Parameter in Bazar Widget HTML Attributes

Summary

YesWiki's Bazar widget handler reflects the id GET parameter into HTML attributes using strip_tags() only. Because strip_tags() does not escape double quotes, an attacker can break out of the attribute value, inject an event handler such as onmouseover, and execute arbitrary JavaScript in the victim's browser.

This issue is reachable without authentication. During validation, the vulnerable widget route returned the injected HTML for both /HomePage/widget?id=... and /NoSuchPage/widget?id=..., which shows that no login, no page ownership, no edit rights, and not even a valid page tag were required. The only routing prerequisite observed was that the Bazar extension is enabled and the request includes an id parameter.

Details

The primary sink is in tools/bazar/presentation/templates/widget.tpl.html around lines 4-7, where $_GET['id'] is inserted into the data-formid attribute:

data-formid="<?php echo strip_tags($_GET['id']); ?>"

strip_tags() is not an output-encoding function. It removes HTML tags, but it does not escape characters such as double quotes, so an attacker can terminate the data-formid attribute and inject new attacker-controlled attributes.

The route is served by tools/bazar/handlers/__WidgetHandler.php around lines 14-26, which only checks whether $_GET['id'] is present:

if (!isset($_GET['id'])) {
    return null;
}

No HasAccess('read'), HasAccess('write'), or authentication check is performed before the vulnerable template is rendered.

There is also a second reflection path in the same handler. The handler builds:

$urlParams = 'id=' . strip_tags($_GET['id']) . ...

and then places the resulting value into the widget template's data-iframeUrl attribute:

data-iframeUrl="<?php echo $GLOBALS['wiki']->href('bazariframe', '', $urlparams, false); ?>"

During validation, a single payload injected into id was reflected into both data-formid and data-iframeUrl, which confirms that the handler exposes multiple attribute-level sinks from the same unsafely handled input.

This issue maps to CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').

PoC

  • Set up a vulnerable YesWiki instance with the bundled Bazar extension enabled. This was validated locally on the official doryphore 4.6.5 release.
  • Confirm the minimum access requirements:
  • No account is required.
  • No read or write permission on a specific page is required.
  • No valid existing page tag is required.
  • No valid Bazar form identifier is required.
  • The only observed requirements were that the Bazar widget handler is present and the request includes an id parameter.
  • Request the widget handler with an attribute-breaking payload in id, for example:

http://127.0.0.1:8085/NoSuchPage/widget?id=%22%20onmouseover=%22alert(1)%22%20x=%22
  • Open the URL in a browser as an unauthenticated visitor.
  • Observe that the server returns HTTP 200 and renders the Bazar widget page even though the page tag is arbitrary.
  • Inspect the returned HTML. The response contains attacker-controlled attributes in the widget root element:

  • Move the mouse over the widgetapp element or otherwise trigger the injected event handler.
  • The browser executes the injected JavaScript in the YesWiki origin.

Impact

This is a reflected XSS vulnerability in the Bazar widget handler with very low attacker prerequisites.

The practical access model is:

  • The attacker only needs to send a crafted public URL.
  • The victim does not need to authenticate.
  • The attacker does not need edit rights, ownership, or a valid page tag.
  • The route only needs to be reachable on a YesWiki instance with Bazar enabled.

An attacker may be able to:

  • Execute arbitrary JavaScript in the victim's browser.
  • Steal browser-accessible sensitive data.
  • Perform actions in the victim's session if the victim is logged in.
  • Target public visitors and authenticated users alike because the route is reachable without access-control checks.

CVSS v3
6.1
EG Score
6.1(low)
EPSS
KEV
Not listed

Published

July 9, 2026

Last Modified

July 9, 2026

Vendor Advisories for CVE-2026-52774(1)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Data Freshness Timeline

(refreshed 7× in last 7d / 7× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-07-15 18:40 UTCEG score recompute
  2. 2026-07-14 19:09 UTCEG score recompute
  3. 2026-07-13 19:40 UTCEG score recompute
  4. 2026-07-12 20:11 UTCEG score recompute
  5. 2026-07-11 20:42 UTCEG score recompute
  6. 2026-07-10 21:14 UTCEG score recompute
  7. 2026-07-09 21:46 UTCEG score recompute

Publicly available exploits

(1 reference)

Working exploit code is in the public domain. Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.

  • Nucleihttp/cves/2026/CVE-2026-52774.yaml
    First seen Jan 1, 2026

    YesWiki Bazar Widget - Reflected XSS via 'id' Parameter

    Open source ↗

Frequently asked(4)

What is CVE-2026-52774?
CVE-2026-52774 is a medium vulnerability published on July 9, 2026. YesWiki Vulnerable to Reflected XSS via Unescaped id Parameter in Bazar Widget HTML Attributes Summary YesWiki's Bazar widget handler reflects the id GET parameter into HTML attributes using striptags() only. Because striptags() does not escape double quotes, an attacker can break out of the…
When was CVE-2026-52774 disclosed?
CVE-2026-52774 was first published in the National Vulnerability Database on July 9, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
What is the CVSS score of CVE-2026-52774?
CVE-2026-52774 has a CVSS v4.0 base score of 6.1 (CNA self-assessment; NVD's own analysis pending). The EG score is currently aggregating — additional source signals are being incorporated as they become available..
How do I remediate CVE-2026-52774?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-52774, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2026-52774

Explore →

Is Your Infrastructure Affected by CVE-2026-52774?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.