CVE-2023-45683
mediumpriority · track · 24EPSS 0.005 · 42 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5.6–7.1
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-267v-3v32-g6q5Cross-site Scripting via missing Binding syntax validation2023-10-17ghsa · osvUS
### Impact 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: The severity is considered “High” because the SP registration is commonly an unrestricted operation in IdPs, hence not requiring particular permissions or publicly accessible to ease the IdP interoperability. ### Patches This issue is fixed in 0.4.14 ### Workarounds Users of the package can perform external validation of URLs provided in SAML metadata, or restrict the ability for end-users to upload arbitrary metadata. ### References This issue was reported by Francesco Lacerenza from Doyensec.
- GO-2023-2114Cross-site scripting via missing binding syntax validation in github.com/crewjam/saml2023-10-24vendor · osvUS
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 loads the SAML IdP initiated SSO link for the malicious service provider.
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (8)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2023-45683cnnvd
- https://cxsecurity.com/cveshow/CVE-2023-45683/cnnvd
- https://github.com/crewjam/saml/commit/b07b16cf83c4171d16da4d85608cb827f183cd79cnnvd
- https://github.com/crewjam/saml/security/advisories/GHSA-267v-3v32-g6q5cnnvd
- https://github.com/crewjam/saml/commit/b07b16cf83c4171d16da4d85608cb827f183cd79enisa_euvd
- https://github.com/crewjam/saml/security/advisories/GHSA-267v-3v32-g6q5enisa_euvd
- https://github.com/crewjam/saml/commit/b07b16cf83c4171d16da4d85608cb827f183cd79Patchnvd
- https://github.com/crewjam/saml/security/advisories/GHSA-267v-3v32-g6q5Vendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan