CVE-2026-61875

luci-app-upnp Stored XSS via UPnP Port Mapping Description

Published Jul 12, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
luci-app-upnp contains a stored cross-site scripting vulnerability that allows unauthenticated LAN clients to inject JavaScript via UPnP IGD AddPortMapping SOAP requests. Attackers can send malicious HTML in the NewPortMappingDescription field, which miniupnpd stores and luci-app-upnp renders without output encoding, executing the payload when administrators view the UPnP or Status pages.

Analysis

AI-generated

Technical impact

luci‑app‑upnp contains a stored cross‑site scripting vulnerability that allows unauthenticated LAN clients to embed malicious JavaScript into the NewPortMappingDescription field of an UPnP IGD AddPortMapping SOAP request. The miniupnpd component stores the string without sanitization, and luci‑app‑upnp renders it unencoded on the web interface. When an administrator views the UPnP or status pages, the injected script executes in the administrator’s browser, enabling session hijacking, credential theft, or further payload installation.

Affected Systems

The vulnerability affects the OpenWrt luci‑app‑upnp package. No specific version restriction is provided; therefore every installation that enables UPnP IGD AddPortMapping is potentially vulnerable. The impact surfaces in the web interface used to manage the router, which is accessed by administrators over the local network.

Risk and Exploitability

The CVSS base score of 8.7 indicates a high‑severity flaw that can undermine confidentiality, integrity, and availability of the administration session. The EPSS score of < 1 % suggests a low probability of exploitation, and the vulnerability is not listed in the CISA KEV catalog. Attackers can exploit the flaw from any device on the LAN that can issue AddPortMapping requests, making the local network the most likely attack vector. Based on the description, it is inferred that once the payload is stored, it will execute each time an administrator accesses the affected pages until the description is cleared or the flaw is patched.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the luci‑app‑upnp package to the latest version that removes the unencoded rendering of port mapping descriptions
  • Disable the UPnP IGD AddPortMapping feature or block AddPortMapping requests from non‑administrative LAN clients to prevent the creation of malicious descriptions
  • Configure the router firewall to reject SOAP AddPortMapping traffic from untrusted LAN devices

Generated by OpenCVE AI on July 31, 2026 at 12:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:openwrt:luci:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Openwrt
Openwrt luci
Vendors & Products Openwrt
Openwrt luci
Type Values Removed Values Added
Description luci-app-upnp contains a stored cross-site scripting vulnerability that allows unauthenticated LAN clients to inject JavaScript via UPnP IGD AddPortMapping SOAP requests. Attackers can send malicious HTML in the NewPortMappingDescription field, which miniupnpd stores and luci-app-upnp renders without output encoding, executing the payload when administrators view the UPnP or Status pages.
Title luci-app-upnp Stored XSS via UPnP Port Mapping Description
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Sep 30, 2026, 5:20 PM
Reserved
Jul 10, 2026, 9:54 PM
Status
Deferred
Published
Jul 12, 2026, 12:16 PM
Modified
Oct 24, 2026, 10:10 PM