{"answers":{"affected":"2 open source packages ship an affected version, including smartbanner.js.","exploited":"There is no known exploitation of CVE-2025-25300 in the wild and no public exploit code.","fix":"Upgrade smartbanner.js to 1.14.1 or later.","what":"CVE-2025-25300 is a low-severity vulnerability in ain smartbanner.js, published on 18 Feb 2025."},"fix_prompt":"Check this codebase for CVE-2025-25300 and fix it if it is affected.\n\nWhat it is: CVE-2025-25300 is a low-severity vulnerability in ain smartbanner.js, published on 18 Feb 2025. \nExploitation: There is no known exploitation of CVE-2025-25300 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- smartbanner.js (npm): affected all versions; fixed in 1.14.1\n- smartbanner.js (npm): affected all versions; fixed in 1.14.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-25300/ (Markdown: https://insights.sbomify.com/CVE-2025-25300/index.md)","id":"CVE-2025-25300","markdown":"https://insights.sbomify.com/CVE-2025-25300/index.md","name":"CVE-2025-25300","record":{"aliases":["GHSA-9mrq-cjgh-32g2"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":1.3,"severity":"low","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"smartbanner.js rel noopener XSS vulnerability","id":"CVE-2025-25300","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":null,"year":"2025"},"n_packages":2,"n_references":3,"next":{"headline":"Rembg allows SSRF via /api/remove","id":"CVE-2025-25301"},"packages":[{"ecosystem":"npm","fixed":["1.14.1"],"introduced":["0"],"last_affected":[],"package":"smartbanner.js","purl":null,"source":"GHSA-9mrq-cjgh-32g2"},{"ecosystem":"npm","fixed":["1.14.1"],"introduced":["0"],"last_affected":[],"package":"smartbanner.js","purl":"pkg:npm/smartbanner.js","source":"GHSA-9mrq-cjgh-32g2"}],"prev":{"headline":"Cross-site scripting (XSS) in the real-time collaboration package","id":"CVE-2025-25299"},"products":["smartbanner.js"],"published":"2025-02-18","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-02-18","vendors":["ain"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2025-25300/"}