CVE-2026-66882
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
What this means for your business
- FIRST's prediction model gives it a 0.4% chance of attack attempts being seen in the next 30 days, ranking above 35% of all known flaws.
What to do
- 1Ask your IT team or provider whether any of your systems use the affected product.
- 2If you do, follow the vendor's guidance. No patch reference has been published yet.
Fastnexa security experts
Not sure if your company is exposed to CVE-2026-66882?
Tell us where you run the affected software and a Fastnexa penetration tester will check whether this flaw, or others like it, can be used against your websites, apps and network.
The full test is free for our first 10 founding clients until 31 December 2026. See the offer
Think you’ve already been hit? Don’t wait on a form: call or WhatsApp +1 (732) 454 2616. We reply within 1 hour, 24/7. Emergency help →
Scoring
- CVSS
- Not yet scored
- CVSS v4
- 2.1
- Weakness
- CWE-79
- Assigned by
- 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Dates
- Published
- 2026-08-25
- Last modified
- 2026-09-01
- Sources
- NVD
References
- https://cna.erlef.org/cves/CVE-2026-66882.html
- https://github.com/team-alembic/ash_authentication/commit/0bd5199db066be22b2ca1ec8bc6109e5d62e6070
- https://github.com/team-alembic/ash_authentication/commit/62719710790a150a9eacab9c0a066e0d122d15be
- https://github.com/team-alembic/ash_authentication/security/advisories/GHSA-54fc-x3hv-ffhw
- https://osv.dev/vulnerability/EEF-CVE-2026-66882
- https://github.com/team-alembic/ash_authentication/security/advisories/GHSA-54fc-x3hv-ffhw