CVE-2023-28628
`authority-regex` returns the wrong authority in lambdaisland/uri
Also known as GHSA-cp4w-6x4w-v2h5
Mitigation
- Upgrade lambdaisland:uri to 1.14.120 or later.
Who should check
- Projects that depend on Maven package lambdaisland:uri (< 1.14.120)
- Anyone running lambdaisland uri < 1.14.120
Vulnerability facts
- Affected
- lambdaisland:uri < 1.14.120
- Fixed in
- 1.14.120
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 5.4 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: Low
- Integrity impact: Low
- Availability impact: None
- EPSS
- 0.58% chance of exploitation in 30 days (percentile 41, 2026-11-26)
- CWE
- CWE-706
- Modified
Description
lambdaisland/uri is a pure Clojure/ClojureScript URI library. In versions prior to 1.14.120 `authority-regex` allows an attacker to send malicious URLs to be parsed by the `lambdaisland/uri` and return the wrong authority. This issue is similar to but distinct from CVE-2020-8910. The regex in question doesn't handle the backslash (`\`) character in the username correctly, leading to a wrong output. ex. a payload of `https://example.com\\@google.com` would return that the host is `google.com`, but the correct host should be `example.com`. Given that the library returns the wrong authority this may be abused to bypass host restrictions depending on how the library is used in an application. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven lambdaisland:uri | < 1.14.120 | 1.14.120 | osv |
| lambdaisland uri | < 1.14.120 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-28628. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-28628.md Affected: lambdaisland:uri < 1.14.120 Fixed in: 1.14.120 Steps: 1. Search this machine and project for lambdaisland:uri (Maven), lambdaisland uri: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Other
- https://github.com/google/closure-library/blob/0e567abedb058e9b194a40cfa3ad4c507653bccf/closure/goog/uri/utils.js#L189
- https://github.com/lambdaisland/uri
- https://github.com/lambdaisland/uri/blob/d3355fcd3e235238f4dcd37be97787a84e580072/src/lambdaisland/uri.cljc#L9
- https://github.com/lambdaisland/uri/releases/tag/v1.14.120
FAQ
Is CVE-2023-28628 being exploited?
There is no confirmed exploitation: CVE-2023-28628 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.58% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-28628?
Medium: CVSS 5.4 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2023-28628?
lambdaisland:uri < 1.14.120.
Is there a fix for CVE-2023-28628?
Yes. Fixed in 1.14.120. Upgrade lambdaisland:uri to 1.14.120 or later.
How do I check if I'm affected by CVE-2023-28628?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.