{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-25427 exists.","fix":"No fix has been published for CVE-2025-25427 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-25427 is a high-severity cross-site scripting vulnerability in TP-Link Systems Inc. TL-WR841N v14/v14.6/v14.8, published on 18 Apr 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-25427 and fix it if it is affected.\n\nWhat it is: CVE-2025-25427 is a high-severity cross-site scripting vulnerability in TP-Link Systems Inc. TL-WR841N v14/v14.6/v14.8, published on 18 Apr 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-25427 exists.\n\nAffected product: TP-Link Systems Inc. TL-WR841N v14/v14.6/v14.8. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-25427/ (Markdown: https://insights.sbomify.com/CVE-2025-25427/index.md)","id":"CVE-2025-25427","markdown":"https://insights.sbomify.com/CVE-2025-25427/index.md","name":"CVE-2025-25427","record":{"aliases":["GHSA-fgvj-q3hx-cpwr"],"analysis":{"component_type":"network_device","fix_type":"patch","impacts":["code_execution","security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"TP-Link home router","requires_auth":"none","summary":"Remote attackers can inject JavaScript into the UPnP page of TP-Link routers, leading to script execution when the page is viewed.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"TPLink","cpe":[{"product":"wr841n_firmware","vendor":"tp-link"}],"cvss":{"score":8.6,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:L/SI:N/SA:L","version":"4.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"A stored cross-site scripting (XSS) vulnerability in the upnp.htm page of the web Interface in TP-Link WR841N v14/v14.6/v14.8 \u003c= Build 241230 Rel. 50788n allows remote attackers to inject arbitrary JavaScript code via the port mapping description. This leads to an execution of the JavaScript payload when the upnp page is loaded.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":null,"headline":"XSS in TP-Link TL-WR841N v14/v14.6/v14.8 Upnp page","id":"CVE-2025-25427","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2025"},"n_packages":0,"n_references":3,"next":{"headline":"Hardcoded credentials in n/a","id":"CVE-2025-25428"},"packages":[],"prev":{"headline":"SQL injection in n/a","id":"CVE-2025-25426"},"products":["TL-WR841N v14/v14.6/v14.8"],"published":"2025-04-18","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-07-01","vendors":["TP-Link Systems Inc."]},"summary":"Remote attackers can inject JavaScript into the UPnP page of TP-Link routers, leading to script execution when the page is viewed.","url":"https://insights.sbomify.com/CVE-2025-25427/"}