Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-49581

published high CVSS 4.0 · 8.7

XWiki allows remote code execution through default value of wiki macro wiki-type parameters

Published
13 Jun 2025, 16:09:22 UTC
Updated
13 Jun 2025, 16:29:33 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
xwiki — xwiki-platform>= 11.10.11, < 12.0 · >= 12.6.3, < 12.7 · >= 12.8-rc-1, < 16.4.7 · >= 16.5.0-rc-1, < 16.10.3 · >= 17.0.0-rc-1, < 17.0.0 Affected Not stated GitHub_M

Description

XWiki is a generic wiki platform. Any user with edit right on a page (could be the user's profile) can execute code (Groovy, Python, Velocity) with programming right by defining a wiki macro. This allows full access to the whole XWiki installation. The main problem is that if a wiki macro parameter allows wiki syntax, its default value is executed with the rights of the author of the document where it is used. This can be exploited by overriding a macro like the children macro that is used in a page that has programming right like the page XWiki.ChildrenMacro and thus allows arbitrary script macros. This vulnerability has been patched in XWiki 16.4.7, 16.10.3 and 17.0.0 by executing wiki parameters with the rights of the wiki macro's author when the parameter's value is the default value.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
8.7 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
xwiki xwiki-platform >= 11.10.11, < 12.0 (affected)>= 12.6.3, < 12.7 (affected)>= 12.8-rc-1, < 16.4.7 (affected)>= 16.5.0-rc-1, < 16.10.3 (affected)>= 17.0.0-rc-1, < 17.0.0 (affected) GitHub_M · cna

Weaknesses

3
  • CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection') (GitHub_M · cna)
  • CWE-270 CWE-270: Privilege Context Switching Error (GitHub_M · cna)
  • CWE-250 CWE-250: Execution with Unnecessary Privileges (GitHub_M · cna)

References

3

Provider assertions

2

GitHub_M · cna

XWiki allows remote code execution through default value of wiki macro wiki-type parameters

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.1
Searchable
yes
Content hash
ad62a84173fca6f003eb42ce496f8364f6b240ae41102b636a5967eb6fc3704f
Ingested
23 Sep 2026, 08:51:18 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected