# CVE-2026-33525: Authelia: Improper Neutralization of Input During Web Page Generation Leads to Potential Cross-site Scripting

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** LOW 0.5
- **CVSS:** 0.5 (v4.0, CNA) `CVSS:4.0/AV:A/AC:H/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N/E:U`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: High; Attack requirements: Present; Privileges required: None; User interaction: Passive; Confidentiality impact: Low; Integrity impact: Low; Availability impact: None; Confidentiality impact on other systems: Low; Integrity impact on other systems: Low; Availability impact on other systems: None; Exploit maturity: Unreported
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.34% (percentile 20, 2026-11-26)
- **CWE:** CWE-79
- **Aliases:** GHSA-gmfg-3v4q-9qr4, GO-2026-4818
- **Published:** 2026-03-24T16:33:03.000Z
- **Modified:** 2026-06-17T10:37:39.070Z

## Who should check

- Projects that depend on Go package github.com/authelia/authelia/v4 (\>= 4.39.15, \< 4.39.16)
- Projects that depend on Go package github.com/authelia/authelia
- Anyone running authelia = 4.39.15

## Description

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.

## Affected and fixed versions

- Go `github.com/authelia/authelia/v4`: affected \>= 4.39.15, \< 4.39.16; fixed 4.39.16 (osv)
- Go `github.com/authelia/authelia`: affected see advisory; fixed no fix listed yet (osv)
- authelia: = 4.39.15 (cvelist)

## Mitigation

- Upgrade github.com/authelia/authelia/v4 to 4.39.16 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-33525. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-33525.md
Affected: github.com/authelia/authelia/v4 >= 4.39.15, < 4.39.16; github.com/authelia/authelia
Fixed in: 4.39.16

Steps:
1. Search this machine and project for github.com/authelia/authelia/v4 (Go), github.com/authelia/authelia (Go), authelia: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-33525 being exploited?

There is no confirmed exploitation: CVE-2026-33525 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.34% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-33525?

Low: CVSS 0.5 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-33525?

github.com/authelia/authelia/v4 \>= 4.39.15, \< 4.39.16; github.com/authelia/authelia.

### Is there a fix for CVE-2026-33525?

Yes. Fixed in 4.39.16. Upgrade github.com/authelia/authelia/v4 to 4.39.16 or later.

### How do I check if I'm affected by CVE-2026-33525?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/authelia/authelia/security/advisories/GHSA-gmfg-3v4q-9qr4>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-33525>
- other: <https://github.com/authelia/authelia>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-33525>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-gmfg-3v4q-9qr4> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2026-4818> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-33525> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-33525>
