Cross-site request forgery via protocol-relative URL parsing
Published Apr 26, 2023 · Updated Jan 31, 2025
CSRF in Qwik City before 0.104.0 allows remote attackers to alter application state through a victim's authenticated browser. The Node middleware's getUrl function passes an unnormalized request URL to the URL constructor, allowing a protocol-relative value to replace the expected origin and bypass CSRF protections. Exploitation requires victim interaction and an application action authorized by the victim's existing session.
Summary
What happened
CSRF in Qwik City before 0.104.0 allows remote attackers to alter application state through a victim's authenticated browser. The Node middleware's getUrl function passes an unnormalized request URL to the URL constructor, allowing a protocol-relative value to replace the expected origin and bypass CSRF protections. Exploitation requires victim interaction and an application action authorized by the victim's existing session.
The record
- CVE
- CVE-2023-2307
- Published
- Apr 26, 2023
- Updated
- Jan 31, 2025
- Vendor
- Builder.io
- Product
- Qwik
- Classifications
- CWE-352, T1189
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Apr 26, 2023CVE publishedPublication date reported by the CVE source.
- Jan 31, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=unspecified <0.104.0
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- huntr CSRF proof of conceptproof of concept · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo