CVE-2026-39841

Stored XSS through list fields on Cargo's page values and Special:CargoTables

Published Apr 7, 2026 CVSS 4.0 · 6.3 Medium EPSS < 1% KEV · Not listed
Description
Improper neutralization of Script-Related HTML tags in a web page (basic XSS) vulnerability in Wikimedia Foundation Mediawiki - Cargo Extension allows Stored XSS.This issue affects Mediawiki - Cargo Extension: before 3.8.7.

Analysis

AI-generated

Technical impact

The Cargo Extension in MediaWiki does not neutralize script‑related HTML tags that can be entered into list fields. When a malicious user saves such content, the script tags are rendered in Cargo pages and the Special:CargoTables view. The injected code executes in the browsers of any visitors to those pages, allowing session hijacking, credential theft or other client‑side attacks. This weakness is a classic cross‑site scripting flaw, matching CWE‑79 and CWE‑80.

Affected Systems

All installations of the MediaWiki Cargo Extension that are older than version 3.8.7 are affected. The issue manifests when list fields are populated with unsanitized user input and the resulting values are displayed on Cargo pages or the special table view. Every user who can view those pages is potentially exposed to the risk.

Risk and Exploitability

The CVSS score of 6.3 indicates moderate severity. The EPSS score is less than 1 % and the vulnerability is not listed in the CISA KEV catalog, implying limited exploitation activity to date. Attackers can exploit the flaw by creating or editing Cargo entries containing malicious script tags through normal web requests; any subsequent viewing of the affected pages will trigger the injected code, making the vulnerability fully stored and easily repeatable.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Cargo Extension to version 3.8.7 or newer so that script tags are properly neutralized.
  • Restrict or disable write access to list fields that accept script tags, and enforce strict sanitization of any user‑supplied content before it is stored or rendered.
  • Monitor logs and user activity for unexpected changes to Cargo entries and review recently updated pages for suspicious script content.

Generated by OpenCVE AI on April 17, 2026 at 09:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Mediawiki
Mediawiki cargo
Weaknesses CWE-79
CPEs cpe:2.3:a:mediawiki:cargo:*:*:*:*:*:*:*:*
Vendors & Products Mediawiki
Mediawiki cargo
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

Type Values Removed Values Added
First Time appeared Wikimedia
Wikimedia mediawiki-cargo Extension
Vendors & Products Wikimedia
Wikimedia mediawiki-cargo Extension
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Improper neutralization of Script-Related HTML tags in a web page (basic XSS) vulnerability in Wikimedia Foundation Mediawiki - Cargo Extension allows Stored XSS.This issue affects Mediawiki - Cargo Extension: before 3.8.7.
Title Stored XSS through list fields on Cargo's page values and Special:CargoTables
Weaknesses CWE-80
References
Metrics cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

  • CWE-80

    Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)

Sources

Status
PUBLISHED
Assigner
wikimedia-foundation
Published
Updated
Apr 7, 2026, 8:42 PM
Reserved
Apr 7, 2026, 6:21 PM
Status
Analyzed
Published
Apr 7, 2026, 8:16 PM
Modified
Jul 24, 2026, 9:10 PM