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-07-15T02:15:39.470578344Z
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
{
    "cwe_ids": [
        "CWE-863",
        "CWE-94"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/53xxx/CVE-2025-53836.json",
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/xwiki/xwiki-commons

Affected ranges

Type
GIT
Repo
https://github.com/xwiki/xwiki-commons
Events
Database specific
{
    "cpe": [
        "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
        "cpe:2.3:a:xwiki:xwiki:4.2:milestone1:*:*:*:*:*:*",
        "cpe:2.3:a:xwiki:xwiki:4.2:milestone2:*:*:*:*:*:*",
        "cpe:2.3:a:xwiki:xwiki:4.2:milestone3:*:*:*:*:*:*"
    ],
    "extracted_events": [
        {
            "introduced": "4.3"
        },
        {
            "fixed": "13.10.11"
        },
        {
            "introduced": "14.0"
        },
        {
            "fixed": "14.4.7"
        },
        {
            "introduced": "14.5"
        },
        {
            "fixed": "14.10"
        },
        {
            "introduced": "4.2-milestone1"
        },
        {
            "last_affected": "4.2-milestone1"
        },
        {
            "introduced": "4.2-milestone2"
        },
        {
            "last_affected": "4.2-milestone2"
        },
        {
            "introduced": "4.2-milestone3"
        },
        {
            "last_affected": "4.2-milestone3"
        }
    ],
    "source": [
        "CPE_RANGE",
        "CPE_STRING"
    ]
}
Type
GIT
Repo
https://github.com/xwiki/xwiki-platform
Events
Database specific
{
    "cpe": [
        "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
        "cpe:2.3:a:xwiki:xwiki:4.2:milestone1:*:*:*:*:*:*",
        "cpe:2.3:a:xwiki:xwiki:4.2:milestone2:*:*:*:*:*:*",
        "cpe:2.3:a:xwiki:xwiki:4.2:milestone3:*:*:*:*:*:*"
    ],
    "extracted_events": [
        {
            "introduced": "4.3"
        },
        {
            "fixed": "13.10.11"
        },
        {
            "introduced": "14.0"
        },
        {
            "fixed": "14.4.7"
        },
        {
            "introduced": "14.5"
        },
        {
            "fixed": "14.10"
        },
        {
            "introduced": "4.2-milestone1"
        },
        {
            "last_affected": "4.2-milestone1"
        },
        {
            "introduced": "4.2-milestone2"
        },
        {
            "last_affected": "4.2-milestone2"
        },
        {
            "introduced": "4.2-milestone3"
        },
        {
            "last_affected": "4.2-milestone3"
        }
    ],
    "source": [
        "CPE_RANGE",
        "CPE_STRING"
    ]
}
Type
GIT
Repo
https://github.com/xwiki/xwiki-rendering
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "4.2-milestone-1"
        },
        {
            "fixed": "13.10.11"
        },
        {
            "introduced": "14.0"
        },
        {
            "fixed": "14.4.7"
        },
        {
            "introduced": "14.5"
        },
        {
            "fixed": "14.10"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ]
}

Affected versions

4.*
4.2-milestone1
4.2-milestone2
4.2-milestone3

Database specific

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