---
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
vendor: openwrt
product: luci
affected:
  - luci < 24.10.8
  - luci >= 25.12.0 < 25.12.5
published: '2026-07-12'
updated: '2026-09-30'
sourceUpdated: '2026-09-30T18:18:38.290'
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
  - url: 'https://github.com/openwrt/luci/security/advisories/GHSA-8v49-6387-7f89'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - cve.org
  - exploit-available
epss: 0.00358
epssPercentile: 0.2938
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-07-13T14:19:23.887144Z'
ingestedAt: '2026-07-12T12:20:14.090Z'
---

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