CVEfocus › CVE database › CVE-2026-104140

CVE-2026-104140QGIS: Stored XSS in WFS3 getFeatures HTML page via unescaped feature attribute values

CVSS 6.1 MediumEPSS 0.4% (higher than 22% of CVEs)Published 2026-10-12Updated 2026-10-13Assigner: GitHub_M

QGIS is a free, open source, cross-platform geographic information system. Prior to 3.44.12 and 4.0.0 through 4.2.3, QGIS Server renders feature data in WFS3 (OGC API Features) HTML responses without HTML escaping. Attacker-controlled feature.properties values from a published writable vector layer reach resources/server/api/ogc/templates/wfs3/getFeatures.html through QgsServerOgcApiHandler::htmlDump and the if_nullptr_null_str callback. A user who opens an items HTML page can execute stored markup or script in the QGIS Server origin, which can expose the viewer's session data or issue authenticated requests with the viewer's privileges. This issue is fixed in version 3.44.12.

CWE-79

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
6Fix pending
3Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10qgisFix pendingUBUNTU-CVE-2026-104140
Ubuntu 26.04qgisUnder investigationUBUNTU-CVE-2026-104140
Ubuntu 24.04qgisUnder investigationUBUNTU-CVE-2026-104140
Ubuntu 22.04qgisUnder investigationUBUNTU-CVE-2026-104140
Ubuntu 20.04qgisFix pendingUBUNTU-CVE-2026-104140
Ubuntu 18.04qgisFix pendingUBUNTU-CVE-2026-104140
Ubuntu 16.04qgisFix pendingUBUNTU-CVE-2026-104140
Debian 14qgisFixed3.44.12+dfsg-1DEBIAN-CVE-2026-104140
Debian 13qgisFix pendingDEBIAN-CVE-2026-104140
Debian 12qgisFix pendingDEBIAN-CVE-2026-104140

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.