{"url":"http://public2.vulnerablecode.io/api/packages/238690?format=json","purl":"pkg:composer/simplesamlphp/simplesamlphp@1.15.4","type":"composer","namespace":"simplesamlphp","name":"simplesamlphp","version":"1.15.4","qualifiers":{},"subpath":"","is_vulnerable":true,"next_non_vulnerable_version":"2.0.15","latest_non_vulnerable_version":"2.3.4","affected_by_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/52533?format=json","vulnerability_id":"VCID-6fwf-1xps-t7g5","summary":"Information Exposure\nSimpleSAMLphp contain an information disclosure vulnerability. The module controller in `SimpleSAML\\Module` that processes requests for pages hosted by modules, has code to identify paths ending with `.php` and process those as PHP code. If no other suitable way of handling the given path exists, it presents the file to the browser. The check to identify paths ending with `.php` does not account for uppercase letters. If someone requests a path ending with e.g. `.PHP` and the server is serving the code from a case-insensitive file system, such as on Windows, the processing of the PHP code does not occur, and the source code is instead presented to the browser. An attacker may use this issue to gain access to the source code in third-party modules that is meant to be private, or even sensitive. However, the attack surface is considered small, as the attack will only work when SimpleSAMLphp serves such content from a file system that is not case-sensitive, such as on Windows.","references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2020-5301","reference_id":"","reference_type":"","scores":[{"value":"0.00142","scoring_system":"epss","scoring_elements":"0.34164","published_at":"2026-06-05T12:55:00Z"},{"value":"0.00142","scoring_system":"epss","scoring_elements":"0.34064","published_at":"2026-06-04T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2020-5301"},{"reference_url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/simplesamlphp/simplesamlphp/CVE-2020-5301.yaml","reference_id":"","reference_type":"","scores":[{"value":"3.0","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:N/A:N"},{"value":"LOW","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/simplesamlphp/simplesamlphp/CVE-2020-5301.yaml"},{"reference_url":"https://github.com/simplesamlphp/simplesamlphp","reference_id":"","reference_type":"","scores":[{"value":"3.0","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:N/A:N"},{"value":"LOW","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/simplesamlphp/simplesamlphp"},{"reference_url":"https://github.com/simplesamlphp/simplesamlphp/commit/47968d26a2fd3ed52da70dc09210921d612ce44e","reference_id":"","reference_type":"","scores":[{"value":"3.0","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:N/A:N"},{"value":"LOW","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/simplesamlphp/simplesamlphp/commit/47968d26a2fd3ed52da70dc09210921d612ce44e"},{"reference_url":"https://github.com/simplesamlphp/simplesamlphp/security/advisories/GHSA-24m3-w8g9-jwpq","reference_id":"","reference_type":"","scores":[{"value":"3.0","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:N/A:N"},{"value":"LOW","scoring_system":"cvssv3.1_qr","scoring_elements":""},{"value":"LOW","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/simplesamlphp/simplesamlphp/security/advisories/GHSA-24m3-w8g9-jwpq"},{"reference_url":"https://simplesamlphp.org/security/202004-01","reference_id":"","reference_type":"","scores":[{"value":"3.0","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:N/A:N"},{"value":"LOW","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://simplesamlphp.org/security/202004-01"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5301","reference_id":"CVE-2020-5301","reference_type":"","scores":[{"value":"3.0","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:N/A:N"},{"value":"LOW","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5301"},{"reference_url":"https://github.com/advisories/GHSA-24m3-w8g9-jwpq","reference_id":"GHSA-24m3-w8g9-jwpq","reference_type":"","scores":[{"value":"LOW","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-24m3-w8g9-jwpq"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/77140?format=json","purl":"pkg:composer/simplesamlphp/simplesamlphp@1.18.6","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-hhq1-kxga-87ea"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/simplesamlphp/simplesamlphp@1.18.6"}],"aliases":["CVE-2020-5301","GHSA-24m3-w8g9-jwpq"],"risk_score":1.4,"exploitability":"0.5","weighted_severity":"2.7","resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-6fwf-1xps-t7g5"},{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/55067?format=json","vulnerability_id":"VCID-96db-3jav-tkay","summary":"SimpleSAMLphp Reflected Cross-site Scripting vulnerability\nWhen sending a SAML message to another entity, SimpleSAMLphp will use the URL of the appropriate endpoint to redirect the user’s browser to it, or craft a form that will be automatically posted to it, depending on the SAML binding used. The URL that’s target of the message is fetched from the stored metadata for the given entity, and that metadata is trusted as correct.\n\nHowever, if that metadata has been altered by a malicious party (either an attacker or a rogue administrator) to substitute the URLs of the endpoints with javascript code, SimpleSAMLphp was blindly using them without any validation, trusting the contents of the metadata. This would lead to a reflected XSS where the javascript code is sent inline to the web browser, and if SimpleSAMLphp is not using a strict Content Security Policy to forbid inline javascript (which is the case of the default user interface), then the code will be executed in the end user’s browser.","references":[{"reference_url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/simplesamlphp/simplesamlphp/2019-07-10.yaml","reference_id":"","reference_type":"","scores":[{"value":"6.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/simplesamlphp/simplesamlphp/2019-07-10.yaml"},{"reference_url":"https://github.com/simplesamlphp/simplesamlphp","reference_id":"","reference_type":"","scores":[{"value":"6.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/simplesamlphp/simplesamlphp"},{"reference_url":"https://github.com/simplesamlphp/simplesamlphp/commit/ce2294e092b3be7db2fc4e18e774b791d4564ff3","reference_id":"","reference_type":"","scores":[{"value":"6.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/simplesamlphp/simplesamlphp/commit/ce2294e092b3be7db2fc4e18e774b791d4564ff3"},{"reference_url":"https://simplesamlphp.org/security/201907-01","reference_id":"","reference_type":"","scores":[{"value":"6.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://simplesamlphp.org/security/201907-01"},{"reference_url":"https://github.com/advisories/GHSA-vpr3-cw3h-prw8","reference_id":"GHSA-vpr3-cw3h-prw8","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-vpr3-cw3h-prw8"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/81656?format=json","purl":"pkg:composer/simplesamlphp/simplesamlphp@1.17.3","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-6fwf-1xps-t7g5"},{"vulnerability":"VCID-8w1y-praq-2bb2"},{"vulnerability":"VCID-hhq1-kxga-87ea"},{"vulnerability":"VCID-pecs-5zkn-6qfq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/simplesamlphp/simplesamlphp@1.17.3"}],"aliases":["GHSA-vpr3-cw3h-prw8"],"risk_score":3.1,"exploitability":"0.5","weighted_severity":"6.2","resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-96db-3jav-tkay"},{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/41159?format=json","vulnerability_id":"VCID-d1cm-xhdp-8qhv","summary":"Cross-site Scripting\nReflected Cross-Site-Scripting in simplesamlphp.","references":[{"reference_url":"https://simplesamlphp.org/security/201907-01","reference_id":"","reference_type":"","scores":[],"url":"https://simplesamlphp.org/security/201907-01"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/58293?format=json","purl":"pkg:composer/simplesamlphp/simplesamlphp@1.17.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-6fwf-1xps-t7g5"},{"vulnerability":"VCID-8w1y-praq-2bb2"},{"vulnerability":"VCID-96db-3jav-tkay"},{"vulnerability":"VCID-hhq1-kxga-87ea"},{"vulnerability":"VCID-pecs-5zkn-6qfq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/simplesamlphp/simplesamlphp@1.17.0"}],"aliases":["GMS-2019-149"],"risk_score":null,"exploitability":"0.5","weighted_severity":"0.0","resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-d1cm-xhdp-8qhv"},{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/56288?format=json","vulnerability_id":"VCID-hhq1-kxga-87ea","summary":"SimpleSAMLphp vulnerable to XXE in parsing SAML messages\nWhen loading an (untrusted) XML document, for example the SAMLResponse, it's possible to induce an XXE.","references":[{"reference_url":"https://github.com/simplesamlphp/simplesamlphp","reference_id":"","reference_type":"","scores":[{"value":"8.3","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/simplesamlphp/simplesamlphp"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2024-52596","reference_id":"CVE-2024-52596","reference_type":"","scores":[{"value":"8.3","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-52596"},{"reference_url":"https://github.com/simplesamlphp/xml-common/security/advisories/GHSA-2x65-fpch-2fcm","reference_id":"GHSA-2x65-fpch-2fcm","reference_type":"","scores":[{"value":"8.3","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/simplesamlphp/xml-common/security/advisories/GHSA-2x65-fpch-2fcm"},{"reference_url":"https://github.com/advisories/GHSA-j5g2-q29x-cw3h","reference_id":"GHSA-j5g2-q29x-cw3h","reference_type":"","scores":[],"url":"https://github.com/advisories/GHSA-j5g2-q29x-cw3h"},{"reference_url":"https://github.com/simplesamlphp/simplesamlphp/security/advisories/GHSA-j5g2-q29x-cw3h","reference_id":"GHSA-j5g2-q29x-cw3h","reference_type":"","scores":[{"value":"8.3","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/simplesamlphp/simplesamlphp/security/advisories/GHSA-j5g2-q29x-cw3h"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/787058?format=json","purl":"pkg:composer/simplesamlphp/simplesamlphp@2.1.0-rc1","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/simplesamlphp/simplesamlphp@2.1.0-rc1"},{"url":"http://public2.vulnerablecode.io/api/packages/83400?format=json","purl":"pkg:composer/simplesamlphp/simplesamlphp@2.0.15","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/simplesamlphp/simplesamlphp@2.0.15"},{"url":"http://public2.vulnerablecode.io/api/packages/83399?format=json","purl":"pkg:composer/simplesamlphp/simplesamlphp@2.1.7","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/simplesamlphp/simplesamlphp@2.1.7"},{"url":"http://public2.vulnerablecode.io/api/packages/83398?format=json","purl":"pkg:composer/simplesamlphp/simplesamlphp@2.2.4","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/simplesamlphp/simplesamlphp@2.2.4"},{"url":"http://public2.vulnerablecode.io/api/packages/83397?format=json","purl":"pkg:composer/simplesamlphp/simplesamlphp@2.3.4","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/simplesamlphp/simplesamlphp@2.3.4"}],"aliases":["GHSA-j5g2-q29x-cw3h"],"risk_score":4.0,"exploitability":"0.5","weighted_severity":"8.0","resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-hhq1-kxga-87ea"}],"fixing_vulnerabilities":[],"risk_score":"1.4","resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/simplesamlphp/simplesamlphp@1.15.4"}