Cross site scripting via missing binding syntax validation In ACS location in github.com/crewjam/saml
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
github.com/crewjam/saml is a saml library for the go language. In affected versions the package does not validate the ACS Location URI according to the SAML binding being parsed. If abused, this flaw allows attackers to register malicious Service Providers at the IdP and inject Javascript in the ACS endpoint definition, achieving Cross-Site-Scripting (XSS) in the IdP context during the redirection at the end of a SAML SSO Flow. Consequently, an attacker may perform any authenticated action as the victim once the victim’s browser loaded the SAML IdP initiated SSO link for the malicious service provider. Note: SP registration is commonly an unrestricted operation in IdPs, hence not requiring particular permissions or publicly accessible to ease the IdP interoperability. This issue is fixed in version 0.4.14. Users unable to upgrade may perform external validation of URLs provided in SAML metadata, or restrict the ability for end-users to upload arbitrary metadata.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| crewjam | saml | before 0.4.14 | 0.4.14 | Patch available | CNA |
| — | github.com/crewjam/saml (Go) | before 0.4.14 | 0.4.14 | Patch available | GHSA-267v-3v32-g6q5 |
- saml Vendorcrewjam Affected before 0.4.14 Fixed in 0.4.14 Patch available CNA
- github.com/crewjam/saml (Go) Vendor— Affected before 0.4.14 Fixed in 0.4.14 Patch available GHSA-267v-3v32-g6q5
Remediation
- Fix · CNA saml (crewjam) Fixed in 0.4.14
- Fix · GHSA-267v-3v32-g6q5 github.com/crewjam/saml (Go) Fixed in 0.4.14 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 1 product
- Red Hat Advanced Cluster Management for Kubernetes 2
Timeline
- 2026-10-02 Threatist record created from CVE-2023-45683
- 2026-10-03 Alias added: GHSA-267v-3v32-g6q5
References
More crewjam Saml vulnerabilities
- TI-2022-20253 crewjam/saml go library is vulnerable to signature bypass via multiple Assertion elements CVSS 3.1CRITICAL 9.8
- TI-2020-16916 Improper authentication in crewjam/saml CVSS 3.1CRITICAL 9.8
- TI-2023-12698 crewjam/saml vulnerable to Denial Of Service Via Deflate Decompression Bomb CVSS 3.1HIGH 7.5
Sources
- CVE-2023-45683 · CVE Program
- CVE-2023-45683 · NVD
- FIRST EPSS
- GHSA-267v-3v32-g6q5 · GitHub Advisory Database · CC BY 4.0
- CVE-2023-45683 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences