CVE-2025-53836

Source
https://cve.org/CVERecord?id=CVE-2025-53836
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-53836.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-53836
Aliases
Published
2025-07-14T23:08:34.071Z
Modified
2026-04-10T05:30:59.583102Z
Severity
  • 9.9 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
Summary
XWiki Rendering is vulnerable to RCE attacks when processing nested macros
Details

XWiki Rendering is a generic rendering system that converts textual input in a given syntax (wiki syntax, HTML, etc) into another syntax (XHTML, etc). Starting in version 4.2-milestone-1 and prior to versions 13.10.11, 14.4.7, and 14.10, the default macro content parser doesn't preserve the restricted attribute of the transformation context when executing nested macros. This allows executing macros that are normally forbidden in restricted mode, in particular script macros. The cache and chart macros that are bundled in XWiki use the vulnerable feature. This has been patched in XWiki 13.10.11, 14.4.7 and 14.10. To avoid the exploitation of this bug, comments can be disabled for untrusted users until an upgrade to a patched version has been performed. Note that users with edit rights will still be able to add comments via the object editor even if comments have been disabled.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/53xxx/CVE-2025-53836.json",
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-863",
        "CWE-94"
    ]
}
References

Affected packages

Git / github.com/xwiki/xwiki-platform

Affected ranges

Type
GIT
Repo
https://github.com/xwiki/xwiki-platform
Events
Introduced
Fixed
Introduced
Fixed
Introduced
Fixed
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "versions": [
        {
            "introduced": "4.3"
        },
        {
            "fixed": "13.10.11"
        },
        {
            "introduced": "14.0"
        },
        {
            "fixed": "14.4.7"
        },
        {
            "introduced": "14.5"
        },
        {
            "fixed": "14.10"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "4.2-milestone1"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "4.2-milestone2"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "4.2-milestone3"
        }
    ]
}

Affected versions

xwiki-platform-13.*
xwiki-platform-13.10
xwiki-platform-13.10-rc-1
xwiki-platform-13.10.1
xwiki-platform-13.10.10
xwiki-platform-13.10.2
xwiki-platform-13.10.3
xwiki-platform-13.10.4
xwiki-platform-13.10.5
xwiki-platform-13.10.6
xwiki-platform-13.10.7
xwiki-platform-13.10.9
xwiki-platform-14.*
xwiki-platform-14.4
xwiki-platform-14.4-rc-1
xwiki-platform-14.4.1
xwiki-platform-14.4.2
xwiki-platform-14.4.3
xwiki-platform-14.4.4
xwiki-platform-14.4.5
xwiki-platform-14.4.6
xwiki-platform-4.*
xwiki-platform-4.2-milestone-1
xwiki-platform-4.2-milestone-2
xwiki-platform-4.2-milestone-3
xwiki-platform-7.*
xwiki-platform-7.3-milestone-2
xwiki-platform-7.4-milestone-1
xwiki-platform-7.4-milestone-2
xwiki-platform-8.*
xwiki-platform-8.0-milestone-1
xwiki-platform-8.0-milestone-2
xwiki-platform-8.1-milestone-1
xwiki-platform-8.1-milestone-2
xwiki-platform-8.2-milestone-1
xwiki-platform-8.2-milestone-2
xwiki-platform-8.3-milestone-1
xwiki-platform-9.*
xwiki-platform-9.9-rc-2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-53836.json"

Git / github.com/xwiki/xwiki-rendering

Affected ranges

Type
GIT
Repo
https://github.com/xwiki/xwiki-rendering
Events
Database specific
{
    "versions": [
        {
            "introduced": "4.2-milestone-1"
        },
        {
            "fixed": "13.10.11"
        }
    ]
}
Type
GIT
Repo
https://github.com/xwiki/xwiki-rendering
Events
Database specific
{
    "versions": [
        {
            "introduced": "14.0"
        },
        {
            "fixed": "14.4.7"
        }
    ]
}
Type
GIT
Repo
https://github.com/xwiki/xwiki-rendering
Events
Database specific
{
    "versions": [
        {
            "introduced": "14.5"
        },
        {
            "fixed": "14.10"
        }
    ]
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-53836.json"