# CVE-2023-2307: Builder.io qwik-city cross-site request forgery

Source: https://junglewise.ai/threats/cve-2023-2307-builder-io-qwik-city-cross-site-request-forgery  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-04-26. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2023-2307 · Severity: low · CVSS 3 · Published 2023-04-26

@builder.io/qwik-city is a web framework for building fast server-side rendered applications. A cross-site request forgery (CSRF) vulnerability in versions prior to 0.104.0 could allow attackers to trick users into performing unintended actions on vulnerable applications, potentially compromising user data or triggering unauthorized state changes.

Technologies: [Builder.Io Qwik-City](https://junglewise.ai/threats/technologies/qwik-city), [@builder.io/qwik-city (npm)](https://junglewise.ai/threats/technologies/builder-io-qwik-city). Vendors: [Builder.Io](https://junglewise.ai/threats/vendors/builder-io), [npm](https://junglewise.ai/threats/vendors/npm).

## Quick answers

**Is CVE-2023-2307 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-2307 being exploited in the wild.

**How severe is CVE-2023-2307?** Low severity, with a CVSS score of 3, published 26 April 2023.

**Which products and versions are affected?** Builder.Io Qwik-City prior to 0.104.0; @builder.io/qwik-city (npm) SEMVER:introduced=0,fixed=0.104.0.

**Is there a fix for CVE-2023-2307?** Yes. @builder.io/qwik-city (npm): upgrade to 0.104.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2023-2307 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2023-2307?** Check whether you run Builder.Io Qwik-City or @builder.io/qwik-city (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- @builder.io/qwik-city (npm): upgrade to 0.104.0 or later

  ```sh
  npm install @builder.io/qwik-city@0.104.0
  ```


## Technical details

The vulnerability is a cross-site request forgery (CWE-352) in @builder.io/qwik-city that stems from improper handling of relative protocol URLs, which could bypass CSRF protections. Specifically, URLs with a relative protocol (e.g., "//attacker.com") were not properly validated, allowing attackers to craft malicious requests. The attack requires user interaction (the victim must click a malicious link or visit a malicious page) but is network-based with no authentication required. An attacker can cause the victim's browser to make unintended requests to the vulnerable application. The vulnerability was fixed in version 0.104.0 released on 2023-04-26.

## Affected products

- Builder.io qwik-city prior to 0.104.0

## Identifiers

- CVE-2023-2307
- GHSA-c54w-7j5f-xg98

## Timeline

- 2023-04-26: disclosed
- 2023-04-26: patched: Fixed in version 0.104.0

## References

- [https://github.com/BuilderIO/qwik/pull/3862/commits/09190b70027354baf7ad3d208df9c05a87f75f57](https://github.com/BuilderIO/qwik/pull/3862/commits/09190b70027354baf7ad3d208df9c05a87f75f57)

## Related threats

- [Builder.io Qwik City array method pollution in FormData parsing](https://junglewise.ai/threats/cve-2026-32701-builder-io-qwik-city-array-method-pollution-in-formdata-parsing)
- [Qwik City CSRF protection middleware regex parsing bypass](https://junglewise.ai/threats/cve-2026-25155-qwik-city-csrf-protection-middleware-regex-parsing-bypass)
- [Qwik City open redirect in fixTrailingSlash middleware](https://junglewise.ai/threats/cve-2026-25149-qwik-city-open-redirect-in-fixtrailingslash-middleware)
- [Qwik City CSRF bypass via Content-Type header validation](https://junglewise.ai/threats/cve-2026-25151-qwik-city-csrf-bypass-via-content-type-header-validation)
- [Builder.io Qwik City prototype pollution in form processing](https://junglewise.ai/threats/cve-2026-25150-builder-io-qwik-city-prototype-pollution-in-form-processing)
