smartbanner.js rel noopener XSS vulnerability
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Spoofing, Cross-site scripting
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-601 and CWE-79.
Summary
smartbanner.js is a customizable smart app banner for iOS and Android. Prior to version 1.14.1, clicking on smartbanner `View` link and navigating to 3rd party page leaves `window.opener` exposed. It may allow hostile third parties to abuse `window.opener`, e.g. by redirection or injection on the original page with smartbanner. `rel="noopener"` is automatically populated to links as of `v1.14.1` which is a recommended upgrade to resolve the vulnerability. Some workarounds are available for those who cannot upgrade. Ensure `View` link is only taking users to App Store or Google Play Store where security is guarded by respective app store security teams. If `View` link is going to a third 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. Version 1.14.1 of smartbanner.js contains a fix for the issue.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| ain | smartbanner.js | before 1.14.1 | 1.14.1 | Patch available | CNA |
| — | smartbanner.js (npm) | before 1.14.1 | 1.14.1 | Patch available | GHSA-9mrq-cjgh-32g2 |
- smartbanner.js Vendorain Affected before 1.14.1 Fixed in 1.14.1 Patch available CNA
- smartbanner.js (npm) Vendor— Affected before 1.14.1 Fixed in 1.14.1 Patch available GHSA-9mrq-cjgh-32g2
Remediation
- Fix · CNA smartbanner.js (ain) Fixed in 1.14.1
- Fix · GHSA-9mrq-cjgh-32g2 smartbanner.js (npm) Fixed in 1.14.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-25300
- 2026-10-03 Alias added: GHSA-9mrq-cjgh-32g2
References
Sources
- CVE-2025-25300 · CVE Program
- CVE-2025-25300 · NVD
- FIRST EPSS
- GHSA-9mrq-cjgh-32g2 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences