Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-32792

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`.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-32792
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 09:24 UTC · Revision 1

Source evidence

CVE-2021-32792

core-osv · Original source

Published 26 Jul 2021, 17:15 UTC

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`.

osv:CVE-2021-32792
Complete source record
{
  "id": "878a4f25e571f23b61239e61bae0ec0d5a74f0191995b6331db5469e522c2af0",
  "url": "https://osv.dev/vulnerability/CVE-2021-32792",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-32792",
    "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`.",
    "evidence": "osv:CVE-2021-32792",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-32792",
      "aliases": [
        "CVE-2021-32792",
        "GHSA-458c-7pwg-3j7j"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/openidc/mod_auth_openidc",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "e33cd488cb9ce027dae692e06767a0ba7ed5e1de"
                },
                {
                  "fixed": "00c315cb0c8ab77c67be4a2ac08a71a83ac58751"
                },
                {
                  "fixed": "55ea0a085290cd2c8cdfdd960a230cbc38ba8b56"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:openidc:mod_auth_openidc:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.4.9"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "00c315cb0c8ab77c67be4a2ac08a71a83ac58751"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "55ea0a085290cd2c8cdfdd960a230cbc38ba8b56"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "e33cd488cb9ce027dae692e06767a0ba7ed5e1de"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v2.4.9"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.4.8.4",
            "v2.4.8.3",
            "v2.4.8.2",
            "v2.4.8.1",
            "v2.4.7.2",
            "v2.4.7.1",
            "v2.4.7",
            "v2.4.6",
            "v2.4.5",
            "v2.4.4.1",
            "v2.4.4",
            "v2.4.3",
            "v2.4.2.1",
            "v2.4.2",
            "v2.4.1",
            "v2.4.0.4",
            "v2.4.0.3",
            "v2.4.0.2",
            "v2.4.0.1",
            "v2.4.0",
            "v2.3.11",
            "2.3.11rc1",
            "v2.3.10.2",
            "v2.3.10.1",
            "v2.3.10",
            "v2.3.9",
            "v2.3.8",
            "v2.3.7",
            "v2.3.6",
            "v2.3.5",
            "v2.3.4",
            "v2.3.3",
            "v2.3.2",
            "v2.3.1",
            "v2.3.0",
            "v2.3.0rc3",
            "v2.3.0rc0",
            "v2.2.0",
            "v2.1.6",
            "v2.1.5",
            "v2.1.4",
            "v2.1.3",
            "v2.1.2",
            "v2.1.1",
            "v2.1.0",
            "v2.0.0",
            "v2.0.0rc4",
            "v2.0.0rc1",
            "v1.8.10",
            "v1.8.9",
            "v1.8.8",
            "v1.8.7",
            "v1.8.6",
            "v1.8.5",
            "v1.8.4",
            "v1.8.3",
            "v1.8.2",
            "v1.8.1",
            "v1.8.0",
            "v1.7.0",
            "v1.6.0",
            "v1.5.5",
            "v1.5.4",
            "v1.5.3",
            "v1.5.2",
            "v1.5.1",
            "v1.5"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-32792.json",
            "vanir_signatures": [
              {
                "id": "CVE-2021-32792-2ca80fa7",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "314472623974046352642912142804683208340",
                    "1491808797503525465831243959703973666",
                    "198004564357983767501042946622958992165"
                  ]
                },
                "source": "https://github.com/openidc/mod_auth_openidc/commit/00c315cb0c8ab77c67be4a2ac08a71a83ac58751",
                "target": {
                  "file": "src/mod_auth_openidc.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-32792-3e92ccd2",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "126790944525078583180071603865154972295",
                    "137650979746716140781474846618354970485",
                    "41126000354448396496718263785188861327",
                    "206805887279959803728304487681803491049"
                  ]
                },
                "source": "https://github.com/openidc/mod_auth_openidc/commit/55ea0a085290cd2c8cdfdd960a230cbc38ba8b56",
                "target": {
                  "file": "src/mod_auth_openidc.h"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-32792-9765b1e2",
                "digest": {
                  "length": 1474,
                  "function_hash": "32194573796516897377511631364803745687"
                },
                "source": "https://github.com/openidc/mod_auth_openidc/commit/00c315cb0c8ab77c67be4a2ac08a71a83ac58751",
                "target": {
                  "file": "src/mod_auth_openidc.c",
                  "function": "oidc_request_post_preserved_restore"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-32792-9d2adc4e",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "189670386551080629756125295111748153231",
                    "35038611237783248290866212508015774975",
                    "219442016696800481728242289168819934663"
                  ]
                },
                "source": "https://github.com/openidc/mod_auth_openidc/commit/55ea0a085290cd2c8cdfdd960a230cbc38ba8b56",
                "target": {
                  "file": "src/util.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-24T14:21:14Z"
          }
        }
      ],
      "modified": "2026-10-24T14:21:14.981593708Z",
      "provider": "osv",
      "references": [
        "https://lists.debian.org/debian-lts-announce/2023/04/msg00034.html",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FZVF6BSJLRQZ7PFFR4X5JSU6KUJYNOCU/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QXAWKPT5LXZSUTFSJ6IWSZC7RMYYQXQD/",
        "https://github.com/zmartzone/mod_auth_openidc/releases/tag/v2.4.9",
        "https://github.com/zmartzone/mod_auth_openidc/commit/00c315cb0c8ab77c67be4a2ac08a71a83ac58751",
        "https://github.com/zmartzone/mod_auth_openidc/commit/55ea0a085290cd2c8cdfdd960a230cbc38ba8b56",
        "https://github.com/zmartzone/mod_auth_openidc/security/advisories/GHSA-458c-7pwg-3j7j",
        "https://www.oracle.com/security-alerts/cpuapr2022.html"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*",
              "cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "33"
                  },
                  {
                    "last_affected": "33"
                  },
                  {
                    "introduced": "34"
                  },
                  {
                    "last_affected": "34"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-32792",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 443590,
  "published_at": "2021-07-26T17:15:08.28+00:00"
}