{"id":"GHSA-9mrq-cjgh-32g2","revision":"ab3962abe96140a09cd360203af36426","records":[{"revision":"ab3962abe96140a09cd360203af36426","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-9mrq-cjgh-32g2","aliases":["CVE-2025-25300"],"title":"smartbanner.js rel noopener vulnerability","description":"## rel noopener vulnerability\n\n### Impact\nClicking on smartbanner _View_ link and navigating to 3rd party page leaves `window.opener` exposed. It may allow hostile 3rd parties to abuse `window.opener`, e.g. by redirection or injection on the original page with smartbanner.\n\n### Patches\n`rel=\"noopener\"` is automatically populated to links as of `v1.14.1` which is a recommended upgrade to resolve the vulnerability.\n\n### Workarounds\nIf you can not upgrade to `v1.14.1`:\n1. Ensure _View_ link is only taking users to App Store or Google Play Store where security is guarded by respective app store security teams\n2. If _View_ link is going to a 3rd party page, limit smartbanner.js to be used on iOS that decreases the scope of the vulnerability since as of Safari 12.1,  `rel=\"noopener\"` is imposed on all `target=\"_blank\"` links.\n\n    Following combination of smartbanner meta tags can be used to achieve the above:\n\n    ```html\n    <meta name=\"smartbanner:enabled-platforms\" content=\"none\">\n    <meta name=\"smartbanner:include-user-agent-regex\" content=\"Mobile.*Safari\">\n    ```\n\n### References\n* [About rel=noopener](https://mathiasbynens.github.io/rel-noopener/)\n* [Safari 12.1 Release Notes](https://developer.apple.com/documentation/safari_release_notes/safari_12_1_release_notes#3130296)\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [smartbanner.js](https://github.com/ain/smartbanner.js/issues/new)","state":0,"publishedAt":"2019-09-13T13:22:33+00:00","modifiedAt":"2026-09-10T03:48:45.0686455+00:00","affected":[{"ecosystem":"npm","name":"smartbanner.js","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.14.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N/E:U","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"LOW"}],"references":["https://github.com/ain/smartbanner.js/security/advisories/GHSA-9mrq-cjgh-32g2","https://github.com/ain/smartbanner.js/commit/fce8c31dfe04033d9d005a89694d3e7a60784f89","https://github.com/advisories/GHSA-9mrq-cjgh-32g2","https://github.com/ain/smartbanner.js"],"sourceUrl":"https://github.com/advisories/GHSA-9mrq-cjgh-32g2","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-9mrq-cjgh-32g2","identifiers":["GHSA-9mrq-cjgh-32g2","CVE-2025-25300"]},"retained":false,"historicalAffected":[]}],"coverage":[]}