# CVE-2025-25300: smartbanner.js rel noopener XSS vulnerability

- Severity: Low 1.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N/E:U`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 39% of CVEs (2026-12-01)
- Published: 2019-09-13T13:22:33.000Z
- Modified: 2026-09-10T03:48:45.068Z
- Also known as: GHSA-9mrq-cjgh-32g2
- Weaknesses: CWE-79, CWE-601
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- ain smartbanner.js: < 1.14.1
- smartbanner.js (npm): before 1.14.1

## Every score

- GitHub_M: CVSS:4.0 1.3 Low `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N/E:U`
- GitHub: CVSS:4.0 Low `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`

## References

- <https://github.com/ain/smartbanner.js/security/advisories/GHSA-9mrq-cjgh-32g2> (web)
- <https://github.com/ain/smartbanner.js/commit/fce8c31dfe04033d9d005a89694d3e7a60784f89> (web)
- <https://github.com/advisories/GHSA-9mrq-cjgh-32g2> (advisory)
- <https://github.com/ain/smartbanner.js> (web)

## Sources

- CVE List: [CVE-2025-25300](https://www.cve.org/CVERecord?id=CVE-2025-25300), CVE Terms of Use, modified 2025-02-18
- GitHub Advisory Database: [GHSA-9mrq-cjgh-32g2](https://github.com/advisories/GHSA-9mrq-cjgh-32g2), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-25300](https://nvd.nist.gov/vuln/detail/CVE-2025-25300), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-25300 · Whole record: https://cve.day/CVE-2025-25300.json · Rebuilt by cve.day 2026-11-25T22:58:54.154Z
