{"id":"CVE-2026-104140","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-104140","generatedAt":"2026-10-28T00:59:15.418Z","title":"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.","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.","published":"2026-10-12T22:17:03.000Z","lastModified":"2026-10-16T16:00:34.000Z","status":"Awaiting Analysis","sourceIdentifier":"security-advisories@github.com","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},"cwe":["CWE-79"],"affected":[],"epss":{"score":0.00243,"percentile":0.15326,"date":"2026-10-26","history":[{"date":"2026-10-13","score":0.00201,"percentile":0.09221}]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (0.24%). Track it; it rarely justifies an emergency change on its own."},"changes":[{"kind":"new","label":"New CVE","at":"2026-10-12T22:17:03.000Z","detail":{"score":"6.1","severity":"MEDIUM","publishedAt":"2026-10-12T22:17:03.273Z"},"summary":"New CVE, medium severity (CVSS 6.1)."}],"references":[{"url":"https://github.com/qgis/QGIS/commit/1930e81c918818a4f5412219f8f7e470d2709f91","source":"security-advisories@github.com"},{"url":"https://github.com/qgis/QGIS/commit/ca76fcac616dbf1c0446514fd6517296eb7c6904","source":"security-advisories@github.com"},{"url":"https://github.com/qgis/QGIS/pull/66616","source":"security-advisories@github.com"},{"url":"https://github.com/qgis/QGIS/pull/67044","source":"security-advisories@github.com"},{"url":"https://github.com/qgis/QGIS/releases/tag/final-3_44_12","source":"security-advisories@github.com"},{"url":"https://github.com/qgis/QGIS/security/advisories/GHSA-cr49-pm9v-m788","source":"security-advisories@github.com"},{"url":"https://github.com/qgis/QGIS/security/advisories/GHSA-cr49-pm9v-m788","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-104140","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}