CVE-2025-57389
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedA reflected cross-site scripting (XSS) vulnerability in the /admin/system/packages endpoint of Luci OpenWRT v18.06.2 allows attackers to execute arbitrary Javascript in the context of a user's browser via a crafted payload. This vulnerability was fixed in OpenWRT v19.07.0.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceA reflected cross-site scripting (XSS) vulnerability exists in the Luci admin interface of OpenWRT version 18.06.2. The vulnerability is located in the /admin/system/packages endpoint, where user-supplied input is not properly sanitized before being reflected back in the HTTP response. An attacker can embed malicious JavaScript code in a crafted URL or form submission that, when clicked by an authenticated administrator, executes in the context of the admin's browser session.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check OpenWRT firmware versionRun `cat /etc/openwrt_release` or check the System → Overview page in Luci to view the installed firmware versionAffected if The installed version is 18.06.2 or any version prior to 19.07.0
-
Check Luci admin interface versionRun `luci --version` or look at the LuCI version displayed in the footer of the Luci admin web interfaceAffected if The Luci version is prior to 19.07.0 (the version that includes the fix)
-
Verify access to the vulnerable endpointNavigate to the /admin/system/packages page in the Luci interface or check if the URL path /admin/system/packages is reachableAffected if The endpoint exists and is accessible, indicating the potentially vulnerable code is present
-
Confirm admin interface exposureCheck network configuration files (e.g., /etc/config/network or /etc/config/uhttpd) or run `iptables -L -n` to see if the Luci admin port (typically 80/443) is bound to any interface accessible from untrusted networksAffected if The admin interface is bound to WAN or an externally accessible IP address, increasing exposure risk
The environment is affected if OpenWRT firmware is version 18.06.2 or any version before 19.07.0, and Luci is accessible on the /admin/system/packages endpoint.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade OpenWRT Luci to version 19.07.0 or later to incorporate the fix for this reflected XSS vulnerability. Until then, avoid clicking untrusted links to the /admin/system/packages endpoint and consider network segmentation to limit admin interface exposure.
OpenWRT v19.07.0 (or later)
- Backup the current router configuration
- Access the OpenWRT router via SSH or console
- Run 'opkg update' to refresh package lists
- Run 'opkg install luci' or 'opkg upgrade luci' to upgrade to version supporting v19.07 or later
- Alternatively, upgrade the entire OpenWRT firmware to v19.07.0 or later via the sysupgrade command: 'sysupgrade -v /path/to/openwrt-19.07.0.bin'
- After upgrade, clear browser cache and verify the /admin/system/packages endpoint no longer reflects unsanitized input
- Restore configuration from backup if needed
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation4.0 h
- Testing3.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,800.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-57389 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-57389 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data