Skip to main content

QGIS QWC2 CVE-2025-11183

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-10-13 vulnerability@ncsc.ch
6.9
CVSS 4.0 · Vendor: ncsc
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with attribute-edit privileges
  2. Delivery
    Inject JavaScript into attribute field
  3. Exploit
    Victim opens affected attribute table
  4. Execution
    Script executes in victim browser
  5. Impact
    Hijack session / exfiltrate data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an attacker who is already authenticated to the QWC2 application with sufficient privileges to write/edit feature attribute data that is rendered in the attribute table (reflected by PR:H). The payload is stored in an attribute field and only triggers when a victim user loads or views the affected attribute table (reflected by UI:P - passive victim interaction). Limiting factors: the high-privilege authentication prerequisite, the dependency on a second victim rendering the malicious record, and the requirement that the deployment runs an unpatched QWC2 version earlier than 2025.08.14. There is no impact to availability (VA:N) and only limited integrity impact (VI:L).

Impact

This is a stored/reflected Cross-Site Scripting flaw (CWE-79) in the attribute table of QGIS QWC2 (QGIS Web Client 2) versions before 2025.08.14. The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:P/VC:H/VI:L/VA:N) scores 6.9 (Medium). The key tempering signals are PR:H (the attacker must already hold high/authorized privileges to inject the payload) and UI:P (a victim must interact with the poisoned attribute table), which sharply limit real-world risk despite the network attack vector. Exploitation signals are low across the board: EPSS is 0.42% (34th percentile), there is no CISA KEV listing, and no public exploit is identified in the provided data - consistent with a flaw that is not under active or widespread exploitation. The high VC:H (confidentiality) impact reflects that injected JavaScript executes in victim sessions, but the authenticated-attacker prerequisite means this is primarily an insider or privilege-escalation/lateral-movement concern rather than a mass-exploitable internet-facing threat. Net: a legitimately patch-worthy Medium issue, not an emergency priority.

Exploit ScenarioDerived

An authenticated user with permission to edit feature attributes in a QGIS QWC2 deployment stores a crafted JavaScript payload in an attribute field. When another user (e.g., a map viewer or administrator) later opens the attribute table containing that record, the script executes in their browser session, enabling session/token theft or actions in their context. No public exploit code is identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 08, 2026

Stored cross-site scripting (XSS) in the attribute table of QGIS QWC2 (QGIS Web Client 2) versions before 2025.08.14 allows an authenticated attacker with high privileges to inject arbitrary JavaScript into feature attribute data. The payload executes when a victim user views the affected attribute table, potentially enabling session hijacking or data theft. A vendor patch is available; EPSS is low (0.42%, 34th percentile) and no public exploit has been identified at time of analysis.

RemediationAI

Upgrade to QGIS QWC2 version 2025.08.14 or later, which contains the vendor patch for this vulnerability. As a temporary mitigation, restrict feature attribute editing privileges to trusted users only, since the attacker must be authenticated with high privileges to inject the payload. Additionally, implementing a strict Content Security Policy (CSP) that disallows inline scripts can help mitigate XSS execution, though it may break legitimate functionality. Consult the vendor advisory at https://hub.ntc.swiss/ntcf-2025-4286 for detailed remediation guidance.

Affected Packages

npm qwc2 fix: 2025.8.14

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

QGIS QWC2 is a web-based client for QGIS Server that renders map layers and associated attribute data. The vulnerability is a CWE-79 improper neutralization of input during web page generation (cross-site scripting) in the attribute table component. Feature attribute values are not adequately sanitized before being inserted into the HTML DOM, allowing persistent JavaScript injection. Exploitation requires the attacker to be authenticated with sufficient privileges to edit feature attribute data (reflected by PR:H in the CVSS vector). The victim must then load or view the attribute table (UI:P). The CVSS 4.0 vector indicates network attack vector, low attack complexity, and no availability impact, with high confidentiality impact and low integrity impact. The assessed CVSS 3.1 vector confirms similar characteristics with scope change.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (ncsc) PRIMARY 6.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/AU:N/RE:L
vuln.today AI 6.9 MEDIUM

Attacker needs authorized attribute-edit rights (PR:H) and a victim must render the payload (UI:R); injected script crosses into the victim's browser context (S:C) with confidentiality impact.

3.1 AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:H/UI:P/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (ncsc).

CVSS VectorVendor: ncsc

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Cross-Site Scripting vulnerability in attribute table in QGIS QWC2 <2025.08.14 allows an authorized attacker to plant arbitrary JavaScript code in the page

Threat Intelligence Overview

EPSS Score
0.4%
Top 66% exploitable
Prevalence
Low
niche open-source web GIS client, industry-specific geospatial deployments
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy