CVE-2026-66882: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in team-alembic ash_authentication
CVE-2026-66882 is a reflected cross-site scripting (XSS) vulnerability in the team-alembic ash_authentication library. It occurs when certain request 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 executes arbitrary JavaScript in the context of the vulnerable application, potentially accessing cookies and session data. The vulnerability affects versions 4.8.0 through before 4.14.2 and 5.0.0-rc.0 through before 5.0.0-rc.13. The CVSS 4.0 score is low (2.1).
AI Analysis
Technical Summary
The vulnerability arises from improper neutralization of input during web page generation in ash_authentication's confirmation and magic link forms. These forms embed user-supplied parameters directly into hidden input value attributes without HTML escaping, using EEx templates with plain <%= %> expressions. No validation or signature verification occurs before rendering, allowing an attacker to inject arbitrary markup and scripts via crafted URLs. Because the affected pages are served over GET and do not require authentication, simply visiting a malicious link triggers script execution in the application's origin, exposing cookies, sessions, and same-origin responses. This issue affects ash_authentication versions from 4.8.0 before 4.14.2 and from 5.0.0-rc.0 before 5.0.0-rc.13.
Potential Impact
An attacker can execute arbitrary JavaScript in the context of the vulnerable application by tricking users into visiting crafted URLs. This can lead to theft of cookies, session tokens, and access to same-origin data. Since the vulnerable pages are part of the authentication flow, victims may be more likely to trust and follow malicious links. However, the CVSS score indicates the overall severity is low.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid enabling require_interaction? or restrict access to the affected forms. Consider implementing input validation and proper HTML escaping in templates to prevent injection. Monitor vendor channels for official patches or updates addressing this issue.
CVE-2026-66882: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in team-alembic 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 request 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 executes arbitrary JavaScript in the context of the vulnerable application, potentially accessing cookies and session data. The vulnerability affects versions 4.8.0 through before 4.14.2 and 5.0.0-rc.0 through before 5.0.0-rc.13. The CVSS 4.0 score is low (2.1).
CVSS v4.0
Score 2.1low
Affected software
pkg:github/team-alembic/ash_authenticationcpe: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.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises from improper neutralization of input during web page generation in ash_authentication's confirmation and magic link forms. These forms embed user-supplied parameters directly into hidden input value attributes without HTML escaping, using EEx templates with plain <%= %> expressions. No validation or signature verification occurs before rendering, allowing an attacker to inject arbitrary markup and scripts via crafted URLs. Because the affected pages are served over GET and do not require authentication, simply visiting a malicious link triggers script execution in the application's origin, exposing cookies, sessions, and same-origin responses. This issue affects ash_authentication versions from 4.8.0 before 4.14.2 and from 5.0.0-rc.0 before 5.0.0-rc.13.
Potential Impact
An attacker can execute arbitrary JavaScript in the context of the vulnerable application by tricking users into visiting crafted URLs. This can lead to theft of cookies, session tokens, and access to same-origin data. Since the vulnerable pages are part of the authentication flow, victims may be more likely to trust and follow malicious links. However, the CVSS score indicates the overall severity is low.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid enabling require_interaction? or restrict access to the affected forms. Consider implementing input validation and proper HTML escaping in templates to prevent injection. Monitor vendor channels for official patches or updates addressing this issue.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- EEF
- Date Reserved
- 2026-07-28T04:15:10.240Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a8d50d0acd9273b49e6aa89
Added to database: 08/25/2026, 08:22:40 UTC
Last enriched: 08/25/2026, 08:37:18 UTC
Last updated: 08/25/2026, 09:24:56 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.