MEDIUM6.1
GHSA-fv7m-wc3v-wr3w
SimpleSAMLphp XSS Vulnerability
Quick fix
GHSA-fv7m-wc3v-wr3w — simplesamlphp/simplesamlphp: upgrade to the fixed version with the command below.
composer require simplesamlphp/simplesamlphp:^1.14.16Details
The consentAdmin module in SimpleSAMLphp through 1.14.15 is vulnerable to a Cross-Site Scripting attack, allowing an attacker to craft links that could execute arbitrary JavaScript code on the victim's web browser.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/simplesamlphp/simplesamlphp
Introduced in:
1.12.0Fixed in: 1.14.16Fix
composer require simplesamlphp/simplesamlphp:^1.14.16References
- https://nvd.nist.gov/vuln/detail/CVE-2017-18121[ADVISORY]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/simplesamlphp/simplesamlphp/CVE-2017-18121.yaml[WEB]
- https://lists.debian.org/debian-lts-announce/2018/02/msg00008.html[WEB]
- https://simplesamlphp.org/security/201709-01[WEB]
- https://www.debian.org/security/2018/dsa-4127[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:composer/simplesamlphp/simplesamlphp"]}'