Authelia: Improper Neutralization of Input During Web Page Generation Leads to Potential Cross-site Scripting
Key facts
- Attack vector
- Adjacent network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- High
- Attack requirements
- Present
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
Authelia is an open-source authentication and authorization server providing two-factor authentication and single sign-on (SSO) for applications via a web portal. In version 4.39.15, an attacker may potentially be able to inject javascript into the Authelia login page if several conditions are met simultaneously. Unless both the `script-src` and `connect-src` directives have been modified it's almost impossible for this to have a meaningful impact. However if both of these are and they are done so without consideration to their potential impact; there is a are situations where this vulnerability could be exploited. This is caused to the lack of neutralization of the `langauge` cookie value when rendering the HTML template. This vulnerability is likely difficult to discover though fingerprinting due to the way Authelia is designed but it should not be considered impossible. The additional requirement to identify the secondary application is however likely to be significantly harder to identify along side this, but also likely easier to fingerprint. Users should upgrade to 4.39.16 or downgrade to 4.39.14 to mitigate the issue. The overwhelming majority of installations will not be affected and no workarounds are necessary. The default value for the Content Security Policy makes exploiting this weakness completely impossible. It's only possible via the deliberate removal of the Content Security Policy or deliberate inclusion of clearly noted unsafe policies.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| authelia | authelia | = 4.39.15 | — | No fix listed | CNA |
| — | github.com/authelia/authelia/v4 (Go) | 4.39.15 to before 4.39.16 | 4.39.16 | Patch available | GHSA-gmfg-3v4q-9qr4 |
- authelia Vendorauthelia Affected = 4.39.15 Fixed in — No fix listed CNA
- github.com/authelia/authelia/v4 (Go) Vendor— Affected 4.39.15 to before 4.39.16 Fixed in 4.39.16 Patch available GHSA-gmfg-3v4q-9qr4
Remediation
- Fix · GHSA-gmfg-3v4q-9qr4 github.com/authelia/authelia/v4 (Go) Fixed in 4.39.16 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-33525
- 2026-10-03 Alias added: GHSA-gmfg-3v4q-9qr4
References
More Authelia vulnerabilities
- TI-2021-12305 Authentication bypassed with malformed request URI CVSS 3.1CRITICAL 10.0
- TI-2021-10169 Authelia allows open redirects on the logout endpoint CVSS 3.1MEDIUM 5.7
Sources
- CVE-2026-33525 · CVE Program
- CVE-2026-33525 · NVD
- FIRST EPSS
- GHSA-gmfg-3v4q-9qr4 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences