CVE-2021-32792 json
XSS vulnerability when using OIDCPreservePost On in mod_auth_openidc
published 2021-07-26 5 y ago modified 2026-06-17 4 mo ago also EUVD-2021-19555
- cvss
- 3.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.5%
- EPSS 1.5% chance of exploitation in 30 days, percentile 74%
- public exploits
- 0
- none known
Summary
mod_auth_openidc is an authentication/authorization module for the Apache 2.x HTTP server that functions as an OpenID Connect Relying Party, authenticating users against an OpenID Connect Provider. In mod_auth_openidc before version 2.4.9, there is an XSS vulnerability in when using `OIDCPreservePost On`.
Patch / fix
- openidc mod_auth_openidc 2.4.9
- libapache2-mod-auth-openidc Debian 14, Debian 13, Debian 12 2.4.9-1
debian advisories DEBIAN-CVE-2021-32792
- cjose RHEL 8 0.6.1-2.module+el8+2454+f890a43a
- mod_auth_openidc RHEL 8 2.3.7-11.module+el8.6.0+14082+b6f23e95
red hat advisories RHSA-2022:1823
- apache2-mod_auth_openidc SLE Module for Server Applications 15 SP7, SLE Module for Server Applications 15 SP6, openSUSE Leap 15.6 2.4.17.1-150600.16.14.1
- apache2-mod_auth_openidc SLES for SAP 12 SP5, SLES 12 SP5 2.4.0-3.23.1
- apache2-mod_auth_openidc SLE Module for Server Applications 15 SP3, SLE Module for Server Applications 15 SP2 2.3.8-3.15.1
suse advisories SUSE-SU-2025:4532-1SUSE-SU-2021:3352-1SUSE-SU-2021:3020-1
- apache2-mod_auth_openidc openSUSE Leap 15.2 2.3.8-lp152.5.6.1
- apache2-mod_auth_openidc openSUSE Leap 15.3 2.3.8-3.15.1
opensuse advisories openSUSE-SU-2021:1277-1openSUSE-SU-2021:3020-1
- cjose AlmaLinux 8 0.6.1-2.module_el8.6.0+2868+44838709
- mod_auth_openidc AlmaLinux 8 2.3.7-11.module_el8.6.0+2868+44838709
almalinux advisories ALSA-2022:1823
- cjose Rocky Linux 8 0.6.1-2.module+el8.3.0+129+2feafa46
- mod_auth_openidc Rocky Linux 8 2.3.7-11.module+el8.6.0+840+73eca44e
rocky linux advisories RLSA-2022:1823
- github.com/zmartzone/mod_auth_openidc@00c315c commit
- github.com/zmartzone/mod_auth_openidc@55ea0a0 commit
- github.com/zmartzone/mod_auth_openidc/releases/tag/v2.4.9 release
- github.com/zmartzone/mod_auth_openidc/security/advisories/GHSA-458c-7… advisory
- oracle.com/security-alerts/cpuapr2022.html advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-32792 updated cvss 6.1
mod_auth_openidc: XSS when using OIDCPreservePost On
-
Red Hat Enterprise Linux AppStream (v. 8) cjose 0.6.1-2.module+el8+2454+f890a43a, mod_auth_openidc 2.3.7-11.module+el8.6.0+14082+b6f23e95fixed: vendor fix RHSA-2022:1823
-
Red Hat Enterprise Linux 7 mod_auth_openidc Red Hat Enterprise Linux 9 mod_auth_openidcnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.51% chance of exploitation in the next 30 days, higher than 74% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected products
- zmartzone mod_auth_openidc
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/zmartzone/mod_auth_openidc/commit/00c315cb0c8ab77c67be4a2ac08a71a83ac58751
patch, third-party-advisory
-
github.com
/zmartzone/mod_auth_openidc/commit/55ea0a085290cd2c8cdfdd960a230cbc38ba8b56
patch, third-party-advisory
-
github.com
/zmartzone/mod_auth_openidc/security/advisories/GHSA-458c-7pwg-3j7j
patch, third-party-advisory
-
oracle.com
/security-alerts/cpuapr2022.html
patch, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/FZVF6BSJLRQZ7PFFR4X5JSU6KUJYNOCU/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/QXAWKPT5LXZSUTFSJ6IWSZC7RMYYQXQD/
vendor-advisory
-
github.com
/zmartzone/mod_auth_openidc/releases/tag/v2.4.9
release-notes, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2023/04/msg00034.html
mailing-list
Sources
- CVE List CVE-2021-32792
- NVD CVE-2021-32792
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.