Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ GHSA-7q9x-8g6p-3x75 — server

🟢 CVSS 2.0 — Low ✅ No Known Exploit CWE-79 OSV
2.0
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

@grackle-ai/server: Unescaped Error String in renderPairingPage() HTML Template ### Impact The `renderPairingPage()` function embeds the `error` parameter directly into HTML without escaping: ```typescript const errorHtml = error ? `

${error}

` : ""; ``` All current call sites pass hardcoded strings, so this is **not exploitable today**. However, the function is architecturally fragile — if a future code change passes user-controlled or dynamic content into the error parameter, it would create an XSS vulnerability. The `renderAuthorizePage()` function in the same file correctly uses `escapeHtml()` for dynamic content, making this an inconsistency. **Affected code:** - `packages/server/src/index.ts:64-89` — `renderPairingPage()` with unescaped error interpolation - Compare: `packages/server/src/index.ts:130` — `renderAuthorizePage()` correctly uses `escapeHtml()` ### Patches v0.70.1 **Fix:** Apply `escapeHtml()` to the error parameter: ```typescript const errorHtml = error ? `

${escapeHtml(error)}

` : ""; ``` ### Workarounds No workaround needed — all current callers pass hardcoded strings. ### Resources - CWE-79: Improper Neutralization of Input During Web Page Generation - File: `packages/server/src/index.ts`

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. A user must be tricked into taking some action. Rated impact: confidentiality none, integrity none, availability none.

Weakness class

GHSA-7q9x-8g6p-3x75 is classified as CWE-79: Cross-site Scripting (XSS). User-supplied data is written into a page without escaping, so attacker script runs in the browser of anyone who views it.

Affected software

GHSA-7q9x-8g6p-3x75 is recorded against 1 package.

  • @grackle-ai/server

Timeline and source

Published on 25 March 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

github.com (Web)
github.com (Package)

Details

Severity LOW
CVSS Score 2.0
CVSS Vector CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
CWE CWE-79
Public Exploit ✅ No
Source OSV
Published 2026-03-25
Updated 2026-08-20
Modified 2026-03-25
Fix URL N/A

Affected Packages

Software From version Fixed in
@grackle-ai/server

Free Vulnerability Check

Is your site affected by GHSA-7q9x-8g6p-3x75?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against GHSA-7q9x-8g6p-3x75 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.