{"id":"GHSA-g6f5-4w43-2x63","aliases":[],"status":"published","title":"ScnSocialAuth Cross-site Scripting vulnerability in login redirect param","description":"ScnSocialAuth version 1.15.2 has been released and includes a security for this vulnerability. Fix has been applied in https://github.com/SocalNick/ScnSocialAuth/commit/4a00966c41bc37251586d007564c5c891eba3700\n\n### Affected versions\nAll versions below 1.15.2 are affected. dev-master is fixed starting from https://github.com/SocalNick/ScnSocialAuth/commit/4a00966c41bc37251586d007564c5c891eba3700\n\n### Exploits\nBecause of missing escaping of the URL param redirect a XSS attack is possible.\nFor example: Setting the redirect param to `\"\u003e\u003ca%20href=\"http://github.com\"\u003eGitHub.com\u003c/a\u003e\u003cinpu%20type=\"hidden\"%20\"` would result in a link added to the login page.\n\n### Resolution\nIf you are using any version of ScnSocialAuth below 1.15.2 please upgrade immediately by running composer update.","severity":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","from":"ghsa"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2024-05-29T13:04:32Z","modified":"2024-12-04T05:38:25Z","fixes":[{"ecosystem":"Packagist","package":"socalnick/scn-social-auth","fixed_in":["1.15.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"socalnick/scn-social-auth","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.15.2"}]}]},{"source":"osv","ecosystem":"Packagist","package":"socalnick/scn-social-auth","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.15.2"}]}],"versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.1.0","1.1.1","1.1.2","1.1.3","1.10.0","1.11.0","1.11.1","1.11.2","1.11.3","1.12.0","1.12.1","1.13.0","1.14.0","1.14.1","1.15.0","1.15.0-rc.1","1.15.0-rc.2","1.15.1","1.2.0","1.3.0","1.3.1","1.3.2","1.4.0","1.5.0","1.5.1","1.6.0","1.6.1","1.6.2","1.6.3","1.6.4","1.7.0","1.7.1","1.7.2","1.7.3","1.7.4","1.7.5","1.7.6","1.7.7","1.8.0","1.8.1","1.8.2","1.8.3","1.8.4","1.9.0","1.9.1","1.9.2","1.9.3","1.9.4"]}],"references":[{"url":"https://github.com/socalnick/scnsocialauth/issues/184","tags":["web"]},{"url":"https://github.com/SocalNick/ScnSocialAuth/commit/4a00966c41bc37251586d007564c5c891eba3700","tags":["web"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/socalnick/scn-social-auth/2015-01-15.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-g6f5-4w43-2x63"},{"url":"https://github.com/SocalNick/ScnSocialAuth/commit","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-g6f5-4w43-2x63","title":"ScnSocialAuth Cross-site Scripting vulnerability in login redirect param","description":"ScnSocialAuth version 1.15.2 has been released and includes a security for this vulnerability. Fix has been applied in https://github.com/SocalNick/ScnSocialAuth/commit/4a00966c41bc37251586d007564c5c891eba3700\n\n### Affected versions\nAll versions below 1.15.2 are affected. dev-master is fixed starting from https://github.com/SocalNick/ScnSocialAuth/commit/4a00966c41bc37251586d007564c5c891eba3700\n\n### Exploits\nBecause of missing escaping of the URL param redirect a XSS attack is possible.\nFor example: Setting the redirect param to `\"\u003e\u003ca%20href=\"http://github.com\"\u003eGitHub.com\u003c/a\u003e\u003cinpu%20type=\"hidden\"%20\"` would result in a link added to the login page.\n\n### Resolution\nIf you are using any version of ScnSocialAuth below 1.15.2 please upgrade immediately by running composer update.","status":"published","published":"2024-05-29T13:04:32Z","modified":"2024-05-29T13:04:33Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:37:52.2286Z"}],"osv":[{"id":"GHSA-g6f5-4w43-2x63","title":"ScnSocialAuth Cross-site Scripting vulnerability in login redirect param","description":"ScnSocialAuth version 1.15.2 has been released and includes a security for this vulnerability. Fix has been applied in https://github.com/SocalNick/ScnSocialAuth/commit/4a00966c41bc37251586d007564c5c891eba3700\n\n### Affected versions\nAll versions below 1.15.2 are affected. dev-master is fixed starting from https://github.com/SocalNick/ScnSocialAuth/commit/4a00966c41bc37251586d007564c5c891eba3700\n\n### Exploits\nBecause of missing escaping of the URL param redirect a XSS attack is possible.\nFor example: Setting the redirect param to `\"\u003e\u003ca%20href=\"http://github.com\"\u003eGitHub.com\u003c/a\u003e\u003cinpu%20type=\"hidden\"%20\"` would result in a link added to the login page.\n\n### Resolution\nIf you are using any version of ScnSocialAuth below 1.15.2 please upgrade immediately by running composer update.","status":"published","published":"2024-05-29T13:04:32Z","modified":"2024-12-04T05:38:25.141656Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:47.472172Z"}]}}
