Reflected XSS in AshAuthentication confirmation and magic link interaction forms
Severity and exploitation
KEV coverage does not rule out exploitation.
Assessment vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:NAssessment vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:NSeverity
low2.1CVSS measures technical severity, not the likelihood of an attack.
Known exploitation
KEV status unavailable or stale
Absence from CISA KEV does not rule out attacks.
Public exploit
Exploit reference published
Source-linked evidence; not proof of attacks in the wild or independent validation.
Remediation
Package fixes recorded
Fix versions are recorded for 1 of 1 mapped packages. Check each release branch and any separate product guidance.
What this means
Improper Neutralization of Input During Web Page Generation (XSS) vulnerability in team-alembic AshAuthentication allows reflected cross-site scripting via the confirmation and magic link interaction forms.
Source excerpt · OSVAttack conditions
No attack-condition excerpt has been identified here. Review the full source description and references for authentication, network access, and configuration requirements.
Review supporting sources →Affected versions
Check the exact model, release, and any platform requirements against your installation.
team-alembic · EEF
ash_authentication
2 ranges
team-alembic · EEF
ash_authentication
Package identity
pkg:hex/ash_authenticationExplore ash_authentication →Identity supplied by EEF. Version matching requires compatible range evidence.
Compare with this publisher’s ranges. This does not inspect your installation.
affected
4.8.0 → before 4.14.2
semver versions
5.0.0-rc.0 → before 5.0.0-rc.13
semver versions
Other versions: unaffected
Product identifiers (CPE)
cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*team-alembic · EEF
ash_authentication
1 range
team-alembic · EEF
ash_authentication
Package identity
pkg:github/team-alembic/ash_authenticationIdentity supplied by EEF. Version matching requires compatible range evidence.
Compare with this publisher’s ranges. This does not inspect your installation.
affected
fe0b4558dbe852fee5d81a460a8355577618a8c8 → before *
git versions
From 0bd5199db066be22b2ca1ec8bc6109e5d62e6070: unaffected
From 62719710790a150a9eacab9c0a066e0d122d15be: unaffected
Source order retained; this version scheme requires manual review.
Other versions: unaffected
Product identifiers (CPE)
cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*Packages
Compare each installed version with the publisher’s affected ranges. Where a fix is recorded, choose the appropriate release branch and test compatibility before upgrading.
| Affected range | Recorded fix |
|---|---|
| From 4.8.0 before 4.14.2Semantic versions | 4.14.2 |
| From 5.0.0-rc.0 before 5.0.0-rc.13Semantic versions | 5.0.0-rc.13 |
Version evidence: OSV · EEF-CVE-2026-66882
View original version evidence (43 explicit versions)
Source version evidence
This source records affected versions without identifying a package ecosystem and name. This evidence is not used for package matching.
What to do
Compare your installed product and version with the affected versions above. A matching product name alone does not confirm exposure.
Use the recorded fix for your release branch. Review the publisher’s instructions and test compatibility before upgrading.
cve.new guidance unless attributed to a publisher. This page does not inspect your installation.
Public exploit evidence
The sources identify public exploit references. We have not independently tested them; their availability does not establish exploitation in the wild.
team-alembic/ash_authentication · security/advisories/GHSA-54fc-x3hv-ffhw ↗Attributed to CISA-ADPOriginal source description
Read the full publisher description
Summary
Improper Neutralization of Input During Web Page Generation (XSS) vulnerability in team-alembic AshAuthentication allows reflected cross-site scripting via the confirmation and magic link interaction forms.
When a strategy is configured with require_interaction? set to true, AshAuthentication serves an intermediate HTML page asking the user to confirm the action by submitting a form. Both such pages embed a request parameter directly into a hidden input's value attribute without HTML escaping: lib/ash_authentication/add_ons/confirmation/confirmation_form.html.eex interpolates the confirm parameter, and lib/ash_authentication/strategies/magic_link/sign_in_form.html.eex interpolates the magic link token parameter. These templates are compiled with EEx.function_from_file/3 using plain <%= %> expressions, which perform no escaping, so the parameter is reflected verbatim.
Neither accept handler validates the value before rendering it. AshAuthentication.AddOn.Confirmation.Plug.accept/2 only checks that a confirm key is present, and AshAuthentication.Strategy.MagicLink.Plug.accept/2 reads the parameter directly, so no token signature is verified at this stage and arbitrary attacker-supplied text reaches the template. An unauthenticated attacker can therefore craft a URL whose parameter terminates the attribute and injects markup, for example a quote followed by a <script> element. Because the accept phase is served over GET, loading the crafted link is sufficient; no form submission or prior authentication is required.
The injected script executes in the origin of the application embedding AshAuthentication, giving it access to that origin's cookies, session, and same-origin responses. Since these pages are part of the authentication flow, a victim following what appears to be a legitimate confirmation or sign-in link is a plausible target.
This issue affects ash_authentication: from 4.8.0 before 4.14.2 and from 5.0.0-rc.0 before 5.0.0-rc.13.
Configurations
Only strategies configured with require_interaction? set to true are affected. This option defaults to false, and when it is disabled the vulnerable accept route is not registered at all, so the affected pages cannot be reached.
The option is not obscure: AshAuthentication's own documentation for the confirmation add-on advises that applications using AshAuthenticationPhoenix should enable it, so the affected configuration is a documented and recommended deployment rather than an unusual one.
At least one of the following must be configured with require_interaction? true:
- the
confirmationadd-on, which serves the affected confirmation accept form; or - the
magic_linkstrategy, which serves the affected sign-in accept form.
References
7 sourcesView 1 more references
Inside the record
Evidence available
Describes the evidence in this view, not whether the product is safe.
Original records
CVE-2026-66882View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.
cve.new JSON →Underlying weaknesses
The source’s classification of what caused the vulnerability.
Environment requirements
These conditions apply together as specified by the publisher. A matching product name alone does not establish exposure.
EEF · platform conditions
All conditions must hold
Any condition may hold
Vulnerable product
cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*From (inclusive): 4.8.0
Before: 4.14.2
Vulnerable product
cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*From (inclusive): 5.0.0-rc.0
Before: 5.0.0-rc.13
Applicability preview
[
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*",
"versionEndExcluding": "4.14.2",
"versionStartIncluding": "4.8.0",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.0.0-rc.13",
"versionStartIncluding": "5.0.0-rc.0",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
],
"operator": "AND"
}
]Contributing organizations · 2
Assigning organization
Additional data publisher
Timeline
All times UTCAdvisory published
Publication date supplied by the source.
Source updated
Latest modification date supplied by the source.
Last imported by cve.new
Latest catalog import, not the date we first saw this advisory.
What changed
Follow changes- OSV · EEF-CVE-2026-66882
Observed 2026-11-20T07:21:57.320Z · upstream updated 2026-11-20T06:15:04.333Z
References changed
before
[ "https://github.com/team-alembic/ash_authentication/security/advisories/GHSA-54fc-x3hv-ffhw", "https://cna.erlef.org/cves/CVE-2026-66882.html", "https://github.com/team-alembic/ash_authentication/commit/fe0b4558dbe852fee5d81a460a8355577618a8c8", "https://github.com/team-alembic/ash_authentication/commit/62719710790a150a9eacab9c0a066e0d122d15be", "https://github.com/team-alembic/ash_authentication/commit/0bd5199db066be22b2ca1ec8bc6109e5d62e6070", "https://hex.pm/packages/ash_authentication" ]
after
[ "https://github.com/team-alembic/ash_authentication/security/advisories/GHSA-54fc-x3hv-ffhw", "https://cna.erlef.org/cves/CVE-2026-66882.html", "https://github.com/team-alembic/ash_authentication/commit/fe0b4558dbe852fee5d81a460a8355577618a8c8", "https://github.com/team-alembic/ash_authentication/commit/0bd5199db066be22b2ca1ec8bc6109e5d62e6070", "https://github.com/team-alembic/ash_authentication/commit/62719710790a150a9eacab9c0a066e0d122d15be", "https://hex.pm/packages/ash_authentication" ]
- CVE · CVE-2026-66882
Observed 2026-11-20T06:35:26.448Z · upstream updated 2026-11-20T06:05:44.916Z
Product or version evidence changed
before
[ { "vendor": "team-alembic", "name": "ash_authentication", "platforms": [], "versions": [ { "version": "4.8.0", "status": "affected", "lessThan": "4.14.2", "versionType": "semver" }, { "version": "5.0.0-rc.0", "status": "affected", "lessThan": "5.0.0-rc.13", "versionType": "semver" } ], "defaultStatus": "unaffected", "packageURL": "pkg:hex/ash_authentication", "packageIdentity": { "ecosystem": "Hex", "name": "ash_authentication" }, "cpes": [ "cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*" ], "source": "EEF", "url": "https://www.cve.org/CVERecord?id=CVE-2026-66882" }, { "vendor": "team-alembic", "name": "ash_authentication", "platforms": [], "versions": [ { "version": "fe0b4558dbe852fee5d81a460a8355577618a8c8", "status": "affected", "lessThan": "*", "versionType": "git", "changes": [ { "at": "62719710790a150a9eacab9c0a066e0d122d15be", "status": "unaffected" }, { "at": "0bd5199db066be22b2ca1ec8bc6109e5d62e6070", "status": "unaffected" } ] } ], "defaultStatus": "unaffected", "packageURL": "pkg:github/team-alembic/ash_authentication", "cpes": [ "cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*" ], "source": "EEF", "url": "https://www.cve.org/CVERecord?id=CVE-2026-66882" } ]after
[ { "vendor": "team-alembic", "name": "ash_authentication", "platforms": [], "versions": [ { "version": "4.8.0", "status": "affected", "lessThan": "4.14.2", "versionType": "semver" }, { "version": "5.0.0-rc.0", "status": "affected", "lessThan": "5.0.0-rc.13", "versionType": "semver" } ], "defaultStatus": "unaffected", "packageURL": "pkg:hex/ash_authentication", "packageIdentity": { "ecosystem": "Hex", "name": "ash_authentication" }, "cpes": [ "cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*" ], "source": "EEF", "url": "https://www.cve.org/CVERecord?id=CVE-2026-66882" }, { "vendor": "team-alembic", "name": "ash_authentication", "platforms": [], "versions": [ { "version": "fe0b4558dbe852fee5d81a460a8355577618a8c8", "status": "affected", "lessThan": "*", "versionType": "git", "changes": [ { "at": "0bd5199db066be22b2ca1ec8bc6109e5d62e6070", "status": "unaffected" }, { "at": "62719710790a150a9eacab9c0a066e0d122d15be", "status": "unaffected" } ] } ], "defaultStatus": "unaffected", "packageURL": "pkg:github/team-alembic/ash_authentication", "cpes": [ "cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*" ], "source": "EEF", "url": "https://www.cve.org/CVERecord?id=CVE-2026-66882" } ]References changed
before
[ "https://github.com/team-alembic/ash_authentication/security/advisories/GHSA-54fc-x3hv-ffhw", "https://cna.erlef.org/cves/CVE-2026-66882.html", "https://osv.dev/vulnerability/EEF-CVE-2026-66882", "https://github.com/team-alembic/ash_authentication/commit/fe0b4558dbe852fee5d81a460a8355577618a8c8", "https://github.com/team-alembic/ash_authentication/commit/62719710790a150a9eacab9c0a066e0d122d15be", "https://github.com/team-alembic/ash_authentication/commit/0bd5199db066be22b2ca1ec8bc6109e5d62e6070" ]
after
[ "https://github.com/team-alembic/ash_authentication/security/advisories/GHSA-54fc-x3hv-ffhw", "https://cna.erlef.org/cves/CVE-2026-66882.html", "https://osv.dev/vulnerability/EEF-CVE-2026-66882", "https://github.com/team-alembic/ash_authentication/commit/fe0b4558dbe852fee5d81a460a8355577618a8c8", "https://github.com/team-alembic/ash_authentication/commit/0bd5199db066be22b2ca1ec8bc6109e5d62e6070", "https://github.com/team-alembic/ash_authentication/commit/62719710790a150a9eacab9c0a066e0d122d15be" ]
Large field values are marked as truncated previews. Original source snapshots remain retained.
Showing up to 50 most recent observed changes.
Related advisories
Recent advisories affecting the same package or the same recorded vendor and product. These are separate vulnerabilities, not additional evidence for this advisory.
AshAuthentication log_out_everywhere leaves sessions valid after a password reset or non-atomic password change
Improper Session Invalidation after Authentication Credential Change vulnerability in team-alembic ash_authentication allows an attacker holding a victim's session token to stay signed in after the victim resets or changes their password.
Recorded fixes — ash_authentication: 4.15.1 or 5.0.0-rc.16. Check your release branch.
Exploitation not established
AshAuthentication brute_force_strategy does not limit sign-in and request actions defined on the resource
Improper Restriction of Excessive Authentication Attempts vulnerability in team-alembic ash_authentication allows an unauthenticated attacker to guess passwords and one-time passwords without limit.
Recorded fixes — ash_authentication: 5.0.0-rc.16. Check your release branch.
Exploitation not established
AshAuthentication TOTP setup lets a user install their own authenticator secret on another user's account
Authorization Bypass Through User-Controlled Key vulnerability in team-alembic ash_authentication allows a user with an account to install a TOTP secret they control on another user's account, and then sign in as that user or hold their second factor.
Recorded fixes — ash_authentication: 5.0.0-rc.16. Check your release branch.
Exploitation not established
Session id is not renewed on authentication in ash_authentication, allowing session fixation
Session Fixation vulnerability in team-alembic ash_authentication allows an attacker who can plant a session identifier in a victim's browser to hold an authenticated session once that victim signs in.
Recorded fixes — ash_authentication: 4.15.0 or 5.0.0-rc.14. Check your release branch.
Exploitation not established
Remember-me sign-in guard reads a session key that is never written in ash_authentication, allowing session replacement
Authentication Bypass by Spoofing vulnerability in team-alembic ash_authentication allows an attacker who can plant a remember-me cookie in a victim's browser to replace that victim's authenticated session with one for the attacker's own account.
Recorded fixes — ash_authentication: 4.15.0 or 5.0.0-rc.14. Check your release branch.
Exploitation not established
dynamic_oidc identities are not namespaced by connection in ash_authentication, allowing cross-connection account…
Authentication Bypass by Spoofing vulnerability in team-alembic ash_authentication allows an attacker who operates one identity-provider connection of a dynamic_oidc strategy to be signed in as a local user established through a different connection.
Recorded fixes — ash_authentication: 5.0.0-rc.14. Check your release branch.
Exploitation not established