Skip to main content
EPSS 0.4%top 72%

Improper Neutralization of Input During Web Page Generation (XSS) vulnerability in lud oaskit allows reflected cross-site scripting via the default… (CVE-2026-66296)

0
Medium
Published: 08/03/2026 (08/03/2026, 21:31:37 UTC)
Source: GCVE Database

Description

CVE-2026-66296 is a reflected cross-site scripting (XSS) vulnerability in the lud oaskit library affecting versions before 0.14.1. The vulnerability arises from improper neutralization of input during web page generation in the default HTML error handler, which interpolates unescaped request-controlled strings into error pages. This allows an attacker to craft a malicious GET request that triggers script execution in the context of the affected application. The vulnerable error rendering and handler are enabled by default, affecting applications that follow documented usage without additional configuration.

CVSS v3.1

Score 6.1medium

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

GitHub Actionsmore threats →ai
lud/oaskit
pkg:github/lud/oaskit
Affected versions
<0.14.1

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: 08/20/2026, 03:28:30 UTC

Technical Analysis

The vulnerability in lud oaskit (before version 0.14.1) involves improper neutralization of input during web page generation, specifically in the default HTML error handler functions Oaskit.ErrorHandler.Default.format_reason/4 and reason_to_html/1. These functions render request-validation failures as HTML pages and interpolate unescaped request-controlled strings such as object keys from request bodies or query parameters, and raw Content-Type headers, into the error page. Because browsers send Accept: text/html by default, an attacker can craft a GET request with malicious input that terminates the HTML markup and injects arbitrary script code. This reflected XSS can execute in the origin of the vulnerable application, potentially exposing cookies, sessions, and same-origin data. The default configuration enables this vulnerable error rendering, making applications using oaskit without modification susceptible.

Potential Impact

Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of the vulnerable application's origin. This can lead to theft of cookies, session tokens, and access to same-origin responses, potentially compromising user accounts and sensitive data. The vulnerability requires user interaction via a crafted link but no special privileges or complex conditions. The CVSS score is 6.1 (medium severity) reflecting network attack vector, low complexity, no privileges required, user interaction needed, and partial confidentiality and integrity impact.

Mitigation Recommendations

No official patch or fix version is currently documented. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, consider disabling the default HTML error rendering by configuring Oaskit.Plugs.ValidateRequest to set :html_errors to false or replacing the default error handler with a safe alternative that properly escapes user input. Avoid exposing detailed validation errors in HTML responses to untrusted users. 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-5rgx-mcq5-r7wv
Osv Schema Version
1.4.0
Aliases
["CVE-2026-66296"]
Database Specific Severity
MODERATE
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a838c41bf8831d539b4bea4

Added to database: 08/17/2026, 22:33:37 UTC

Last enriched: 08/20/2026, 03:28:30 UTC

Last updated: 10/02/2026, 02:46:05 UTC

Views: 31

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