{"id":"CVE-2026-33525","published":"2026-03-26T19:22:57Z","modified":"2026-03-30T14:55:38Z","title":"Authelia: Improper Neutralization of Input During Web Page Generation Leads to Potential Cross-site Scripting","vendor":"authelia","product":"authelia","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":0.5,"severity":"LOW","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00242,"percentile":0.15485,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/authelia/authelia/security/advisories/GHSA-gmfg-3v4q-9qr4","tags":["x_refsource_CONFIRM"]}],"priority":{"score":3.4,"factors":[{"name":"EPSS percentile","points":3.1},{"name":"CVSS severity","points":0.35}]},"vendorSlug":"authelia","affectedVersions":[{"vendor":"authelia","product":"authelia","versions":["= 4.39.15"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-30T13:59:38.875586Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/authelia/authelia/v4","vulnerableRanges":[">=4.39.15, <4.39.16"],"patched":["4.39.16"],"from":["GHSA-gmfg-3v4q-9qr4","GO-2026-4818"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/authelia/authelia","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-4818"],"provenance":"source"}],"summary":{"text":"Authelia (the authentication and single sign-on server's web login page) contains a cross-site scripting flaw in which the language cookie value is not neutralised when the HTML template is rendered. An attacker on an adjacent network who can get a victim to interact with a crafted page can inject JavaScript into the login page, but only when the Content Security Policy's script-src and connect-src directives have both been deliberately modified in an unsafe way, since the default policy prevents exploitation, and it is also hard to discover through fingerprinting.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:23:39Z"},"euvd":{"id":"EUVD-2026-16353","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-29456","published":"2021-04-21","fixed":"4.28.0","kev":false},{"cve":"CVE-2021-32637","published":"2021-05-28","fixed":"4.29.3","kev":false},{"cve":"CVE-2025-24806","published":"2025-02-19","fixed":"4.38.19","kev":false},{"cve":"CVE-2026-33525","published":"2026-03-26","fixed":"4.39.16","kev":false},{"cve":"CVE-2026-47203","published":"2026-06-19","fixed":"4.39.20","kev":false,"link":{"from":"CVE-2026-33525","to":"CVE-2026-47203","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/authelia/authelia/v4","fromFixed":"4.39.16","toFixed":"4.39.20","daysApart":85}]}},{"cve":"CVE-2026-48794","published":"2026-06-19","fixed":"4.39.20","kev":false,"link":{"from":"CVE-2026-33525","to":"CVE-2026-48794","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/authelia/authelia/v4","fromFixed":"4.39.16","toFixed":"4.39.20","daysApart":85}]}}],"package":"Go:github.com/authelia/authelia/v4"}}