CVE-2025-53837

Source
https://cve.org/CVERecord?id=CVE-2025-53837
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-53837.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-53837
Aliases
Published
2026-09-18T15:07:40Z
Modified
2026-09-20T14:24:41Z
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
org.xwiki.rendering:xwiki-rendering-xml has an Eval Injection issue
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). Prior to versions 14.10.2 and 15.0 RC1, any user who can edit their own user profile or any other document can execute arbitrary script macros including Groovy and Python macros that allow remote code execution including unrestricted read and write access to all wiki contents. The reason is that rendering output is included as content of HTML macros without further escaping and it is thus possible to close the HTML macro and inject script macros that are executed with programming rights. This has been patched in XWiki 14.10.2 and 15.0 RC1 by making sure that rendering output cannot close the surrounding HTML macro. A possible workaround is available. It is, in principle, possible to add escaping to all places where rendering output is used in wiki documents, but at the moment there is no list of them.

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

Affected packages

Git / github.com/xwiki/xwiki-rendering

Affected ranges

Type
GIT
Repo
https://github.com/xwiki/xwiki-rendering
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "14.10.2"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ]
}

Affected versions

xwiki-rendering-14.*
xwiki-rendering-14.10
xwiki-rendering-14.10.1
xwiki-rendering-7.*
xwiki-rendering-7.3-milestone-2
xwiki-rendering-7.4-milestone-1
xwiki-rendering-7.4-milestone-2
xwiki-rendering-8.*
xwiki-rendering-8.0-milestone-1
xwiki-rendering-8.0-milestone-2
xwiki-rendering-8.1-milestone-1
xwiki-rendering-8.1-milestone-2
xwiki-rendering-8.2-milestone-1
xwiki-rendering-8.2-milestone-2
xwiki-rendering-8.3-milestone-1
xwiki-rendering-8.3-milestone-2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-53837.json"
vanir_signatures
[
    {
        "deprecated": false,
        "digest": {
            "function_hash": "271187246052519435732121636096977455208",
            "length": 107
        },
        "id": "CVE-2025-53837-20b250a9",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/xwiki/xwiki-rendering/commit/92bc8095ed3acce15ab200c8525e1623b4898be5",
        "target": {
            "file": "xwiki-rendering-xml/src/main/java/org/xwiki/rendering/renderer/printer/XHTMLWikiPrinter.java",
            "function": "printRaw"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "293564567970297863807981755360858923287",
                "277523612510386040492400739863906991209",
                "296000569702687490286584948911924806564",
                "99754105138270330368456226709164404132",
                "247669744577841521130576326725996957873",
                "164606942403396664505565277672599317243",
                "34487072428171963112081069113437158178"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2025-53837-8ba74d13",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/xwiki/xwiki-rendering/commit/92bc8095ed3acce15ab200c8525e1623b4898be5",
        "target": {
            "file": "xwiki-rendering-xml/src/main/java/org/xwiki/rendering/renderer/printer/XHTMLWikiPrinter.java"
        }
    }
]
vanir_signatures_modified
"2026-09-20T14:24:41Z"