smartbanner.js
Affected
- introduced
0, fixed1.14.1(semver)
Fixed versions
1.14.1
Fix
- Fixed version
1.14.1npm install [email protected]
Advisory
Also known as: CVE-2025-25300
smartbanner.js rel noopener vulnerability
rel noopener vulnerability
Impact
Clicking 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.
Patchesrel="noopener" is automatically populated to links as of v1.14.1 which is a recommended upgrade to resolve the vulnerability.
Workarounds
If you can not upgrade to v1.14.1:
rel="noopener" is imposed on all target="_blank" links.Following combination of smartbanner meta tags can be used to achieve the above:
```html
<meta name="smartbanner:enabled-platforms" content="none">
<meta name="smartbanner:include-user-agent-regex" content="Mobile.*Safari">
```
References
For more information
If you have any questions or comments about this advisory:
Low Basis: The source's own band: LOW
0, fixed 1.14.1 (semver)1.14.1
1.14.1npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0