CVE-2026-104140
published medium CVSS 3.1 · 6.1QGIS: Stored XSS in WFS3 getFeatures HTML page via unescaped feature attribute values
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| qgis | — | QGIS< 3.44.12 · >= 4.0.0, <= 4.2.3 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.1 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| qgis | QGIS | < 3.44.12 (affected)>= 4.0.0, <= 4.2.3 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
6- https://github.com/qgis/QGIS/commit/1930e81c918818a4f5412219f8f7e470d2709f91
- https://github.com/qgis/QGIS/commit/ca76fcac616dbf1c0446514fd6517296eb7c6904
- https://github.com/qgis/QGIS/pull/66616
- https://github.com/qgis/QGIS/pull/67044
- https://github.com/qgis/QGIS/releases/tag/final-3_44_12
- https://github.com/qgis/QGIS/security/advisories/GHSA-cr49-pm9v-m788
Provider assertions
2GitHub_M · cna
QGIS: Stored XSS in WFS3 getFeatures HTML page via unescaped feature attribute values
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 59084325d4a0cc7c592f58c7e1afd456d6da9f3237c4aa5ec2b8f5101c5d1993
- Ingested
- 13 Oct 2026, 16:41:44 UTC
- Source record
- Official CVE record