---
id: CVE-2026-61875
title: >-
  luci-app-upnp contains a stored cross-site scripting vulnerability that allows
  unauthenticated LAN clients to inject JavaScript via UPnP IGD AddPortMapping
  SOAP requests
summary: >-
  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…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H'
cwe:
  - CWE-79
published: '2026-07-12'
updated: '2026-07-12'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-61875'
references:
  - url: 'https://github.com/openwrt/luci/security/advisories/GHSA-8v49-6387-7f89'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/luci-app-upnp-stored-xss-via-upnp-port-mapping-description
    label: disclosure@vulncheck.com
tags:
  - nvd
ingestedAt: '2026-07-12T12:20:14.090Z'
epss: 0.00551
epssPercentile: 0.44948
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
