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.
Published: 2026-07-12
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

History

Tue, 14 Jul 2026 22:30:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:openwrt:luci:*:*:*:*:*:*:*:*

Mon, 13 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Sun, 12 Jul 2026 13:45:00 +0000

Type Values Removed Values Added
First Time appeared Openwrt
Openwrt luci
Vendors & Products Openwrt
Openwrt luci

Sun, 12 Jul 2026 12:15:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-14T22:03:44.956Z

Reserved: 2026-07-10T21:54:26.760Z

Link: CVE-2026-61875

cve-icon Vulnrichment

Updated: 2026-07-13T14:19:47.073Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T12:30:16Z

Weaknesses
  • CWE-79

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