CVE-2025-57389

MEDIUM

Luci OpenWRT v18.06.2 - Reflected Cross-Site Scripting via /admin/system/packages Endpoint

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2025-57389. PoCs published by amalcew.

AI-analyzed exploit summary This repository provides a detailed writeup and proof-of-concept for CVE-2025-57389, a reflected XSS vulnerability in OpenWRT 18.06.2. The vulnerability allows execution of arbitrary JavaScript due to insufficient input sanitization in the `/cgi-bin/luci/admin/system/packages` endpoint.

Description

A 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.

Exploits (1)

nomisec WRITEUP
by amalcew · poc
https://github.com/amalcew/CVE-2025-57389

This repository provides a detailed writeup and proof-of-concept for CVE-2025-57389, a reflected XSS vulnerability in OpenWRT 18.06.2. The vulnerability allows execution of arbitrary JavaScript due to insufficient input sanitization in the `/cgi-bin/luci/admin/system/packages` endpoint.

Classification
Writeup 90%
Attack Type
Xss
Complexity
Trivial
Reliability
Reliable
Target: OpenWRT 18.06.2 (Luci)
Auth required
Prerequisites: Access to the vulnerable endpoint · Ability to intercept and modify HTTP requests
MITRE ATT&CK
devstral-2 · analyzed Feb 16, 2026 Full analysis →

Scores

CVSS v3 5.4
EPSS 0.0016
EPSS Percentile 6.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-79
Status published
Published Oct 01, 2025
Tracked Since Feb 18, 2026