CVE-2023-29516

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-29516
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-29516.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-29516
Aliases
Published
2023-04-18T23:51:58Z
Modified
2025-10-26T04:04:10.535274Z
Severity
  • 9.9 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L CVSS Calculator
Summary
Code injection from view right on XWiki.AttachmentSelector in xwiki-platform
Details

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Any user with view rights on XWiki.AttachmentSelector can execute arbitrary Groovy, Python or Velocity code in XWiki leading to full access to the XWiki installation. The root cause is improper escaping in the "Cancel and return to page" button. This page is installed by default. This vulnerability has been patched in XWiki 15.0-rc-1, 14.10.1, 14.4.8, and 13.10.11. There are no known workarounds for this vulnerability.

Database specific
{
    "cwe_ids": [
        "CWE-74"
    ]
}
References

Affected packages

Git / github.com/xwiki/xwiki-commons

Affected ranges

Type
GIT
Repo
https://github.com/xwiki/xwiki-commons
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Git / github.com/xwiki/xwiki-platform

Affected ranges

Type
GIT
Repo
https://github.com/xwiki/xwiki-platform
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

xwiki-application-calendar-1.*

xwiki-application-calendar-1.0

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

xwiki-plugin-tag-1.*

xwiki-plugin-tag-1.1

Database specific

vanir_signatures

[
    {
        "source": "https://github.com/xwiki/xwiki-platform/commit/aca1d677c58563bbe6e35c9e1c29fd8b12ebb996",
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "file": "xwiki-platform-core/xwiki-platform-attachment/xwiki-platform-attachment-ui/src/test/java/org/xwiki/attachment/AttachmentSelectorPageTest.java"
        },
        "id": "CVE-2023-29516-fba7fdf2",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "117447449918985110501360561995860207581",
                "246378655834906539853918520206135768882",
                "104690039137418148703134530501315187044",
                "43526138936588944726231737459337986225",
                "257272051162169146444476907056638279573",
                "103941195338481196595840245895005637393",
                "21021498997725953029614224375636779743",
                "208777274748460936997797494507699461955",
                "294983089302469101884287174702115940953",
                "84043707678352613028733522121630995785",
                "234936962260977433647820245964916621731"
            ]
        },
        "signature_type": "Line"
    }
]