Skip to main content
EPSS 0.8%top 46%

CVE-2026-66882: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in team-alembic ash_authentication

0
Low
VulnerabilityCVE-2026-66882cvecve-2026-66882cwe-79
Published: 08/25/2026 (08/25/2026, 08:03:47 UTC)
Source: CVE Database V5
Vendor/Project: team-alembic
Product: ash_authentication

Description

CVE-2026-66882 is a reflected cross-site scripting (XSS) vulnerability in the team-alembic ash_authentication library. It occurs when certain parameters are embedded directly into HTML form inputs without proper escaping, allowing an attacker to inject malicious scripts. This affects the confirmation and magic link interaction forms when require_interaction? is set to true. An unauthenticated attacker can craft a URL that triggers script execution in the context of the vulnerable application, potentially exposing cookies and session data. The vulnerability affects ash_authentication versions from 4.8.0 up to but not including 4.14.2, and from 5.0.0-rc.0 up to but not including 5.0.0-rc.13. The CVSS 4.0 base score is 2.1, indicating low severity.

CVSS v4.0

Score 2.1low

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
Low
Subsq. Integrity
Low
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Affected software

team-alembic

ash_authentication

Affected versions
>=4.8.0 <4.14.2>=5.0.0-rc.0 <5.0.0-rc.13

team-alembic

ash_authentication

ash_authentication
pkg:hex/ash_authentication
Affected versions
>=4.8.0 <4.14.2>=5.0.0-rc.0 <5.0.0-rc.13
GitHub Actionsmore threats →cve
team-alembic/ash_authentication
pkg:github/team-alembic/ash_authentication
CPE configurations
cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*

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: 09/10/2026, 20:18:17 UTC

Technical Analysis

The vulnerability arises because the ash_authentication library uses EEx templates with unescaped interpolation (<%= %>) for parameters in confirmation and magic link forms. Specifically, the confirm parameter and the magic link token parameter are embedded directly into hidden input values without HTML escaping. The accept handlers do not validate or verify these parameters before rendering, allowing an attacker to inject arbitrary HTML or JavaScript by crafting a malicious URL. Since the affected pages are served over GET requests and no authentication is required to trigger the vulnerability, an attacker can exploit this by enticing a user to visit a crafted link. The injected script executes in the origin of the application embedding ash_authentication, potentially compromising user session and cookie data. The affected versions are >=4.8.0 <4.14.2 and >=5.0.0-rc.0 <5.0.0-rc.13.

Potential Impact

An attacker can perform reflected cross-site scripting attacks, executing arbitrary scripts in the context of the vulnerable application. This can lead to theft of cookies, session tokens, or other sensitive information accessible to the browser within the application's origin. Because the vulnerable pages are part of the authentication flow, users may be tricked into clicking malicious links that appear legitimate, increasing the risk of successful exploitation. However, the CVSS score and description indicate the overall severity is low.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid enabling require_interaction? with ash_authentication or do not expose the affected confirmation and magic link forms to untrusted input. Implement input validation and proper HTML escaping for parameters embedded in templates. 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

Data Version
5.2
Assigner Short Name
EEF
Date Reserved
2026-07-28T04:15:10.240Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a8d50d0acd9273b49e6aa89

Added to database: 08/25/2026, 08:22:40 UTC

Last enriched: 09/10/2026, 20:18:17 UTC

Last updated: 10/09/2026, 18:48:22 UTC

Views: 75

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