CVE-2025-32971

Source
https://cve.org/CVERecord?id=CVE-2025-32971
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-32971.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-32971
Aliases
Published
2025-04-30T14:54:55.124Z
Modified
2026-07-22T04:01:53.168272Z
Severity
  • 3.8 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:L CVSS Calculator
Summary
XWiki Solr script service doesn't take dropped programming right into account
Details

XWiki is a generic wiki platform. In versions starting from 4.5.1 to before 15.10.13, from 16.0.0-rc-1 to before 16.4.4, and from 16.5.0-rc-1 to before 16.8.0-rc-1, the Solr script service doesn't take dropped programming rights into account. The Solr script service that is accessible in XWiki's scripting API normally requires programming rights to be called. Due to using the wrong API for checking rights, it doesn't take the fact into account that programming rights might have been dropped by calling $xcontext.dropPermissions(). If some code relies on this for the safety of executing Velocity code with the wrong author context, this could allow a user with script rights to either cause a high load by indexing documents or to temporarily remove documents from the search index. This issue has been patched in versions 15.10.13, 16.4.4, and 16.8.0-rc-1.

Database specific
{
    "cwe_ids": [
        "CWE-863"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/32xxx/CVE-2025-32971.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:*:*:*:*:*:*:*:*",
    "source": "CPE_RANGE",
    "extracted_events": [
        {
            "introduced": "4.5.1"
        },
        {
            "fixed": "15.10.13"
        },
        {
            "introduced": "16.0.0"
        },
        {
            "fixed": "16.4.4"
        },
        {
            "introduced": "16.5.0"
        },
        {
            "fixed": "16.8.0"
        }
    ]
}
Type
GIT
Repo
https://github.com/xwiki/xwiki-platform
Events
Database specific
{
    "cpe": "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "4.5.1"
        },
        {
            "fixed": "15.10.13"
        },
        {
            "introduced": "16.0.0"
        },
        {
            "fixed": "16.4.4"
        },
        {
            "introduced": "16.5.0"
        },
        {
            "fixed": "16.8.0"
        }
    ]
}

Database specific

vanir_signatures_modified
"2026-07-22T04:01:53Z"
vanir_signatures
[
    {
        "signature_type": "Line",
        "target": {
            "file": "xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-api/src/main/java/org/xwiki/search/solr/script/SolrIndexScriptService.java"
        },
        "deprecated": false,
        "source": "https://github.com/xwiki/xwiki-platform/commit/6570f40f976aec82baf388b5239d1412cab238c9",
        "id": "CVE-2025-32971-11c78177",
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "274003705674952165485013444814961936643",
                "191310593760407299282929972078747691966",
                "283792305261805835973270657161521075083",
                "36748194502398627378493192014563423147",
                "302719975544873556728634298959135204971",
                "161003778651903818011771890554862253327",
                "47106129422851546981918105533830579777",
                "264664875313913459168128124221452812726",
                "267590923224473496580985926882512369587",
                "66874303208629275033273478456015058689",
                "10041105961471688486482989888707609387"
            ],
            "threshold": 0.9
        }
    },
    {
        "signature_type": "Line",
        "target": {
            "file": "xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-api/src/test/java/org/xwiki/search/solr/script/SolrIndexScriptServiceTest.java"
        },
        "deprecated": false,
        "source": "https://github.com/xwiki/xwiki-platform/commit/6570f40f976aec82baf388b5239d1412cab238c9",
        "id": "CVE-2025-32971-1e24f43d",
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "162085118157427804356631568315313289021",
                "338477182582758375003584366777166501589",
                "58469049557373835310893697060019008228",
                "228349822650395907755431329387274939686",
                "297505099352716656059819604422129354392",
                "48237436150210407235927690429223781639",
                "9790542162375607058991553198701990037",
                "16684136752837563172869568427108822223",
                "295240562065721570923416518409446495266",
                "107460268638836911988504307249168177712",
                "199714849173233921953381478442504599999",
                "186795911061621338247563612791902838609",
                "122198234537229669231005270566884584268",
                "176235983936402006109217773509279396694",
                "194266611869287260708383212230955354376",
                "143577412960785701665830196551709096222",
                "313784079334204670382735755128500646654",
                "137161838077120059359614184017175209452",
                "46004694869508351624158581846025146874",
                "292080682639007517373347539385114605474",
                "106493772900162352873116237632375586623",
                "137161838077120059359614184017175209452",
                "148754540302412044522338445439999743577",
                "40444298353755976683763121201690250097",
                "138468126387227093982350439603579947375",
                "137161838077120059359614184017175209452",
                "205696357692071148224767681802827929339",
                "271700712568640158560938927774513932999",
                "21234163311385418605543172889182949989",
                "137161838077120059359614184017175209452",
                "77314561151270200859869555434464140833",
                "138502997585949452684117848789285800802",
                "175562208194628188946293721731516867928",
                "137161838077120059359614184017175209452",
                "182069886633445803793943751098291902802",
                "330667159469781567351074009433961298478",
                "187637402631685182135412690800365103011",
                "9826586072431499105672136997249937427",
                "186612342587476242466836232904689231291",
                "276759771351379600513591299055899801453",
                "23681371366854669594379175864881584475",
                "265225584828672311887151308609332396219",
                "288790981115516479721692272067296595373",
                "52466240462153659156355838980473070994",
                "328082989065580726118008815516015347909",
                "109321415645395777521850495311623750031",
                "274097427580441355975086905145411384361",
                "327636622721136359455665764532501973503",
                "135055569920924639115800532436145795349",
                "137161838077120059359614184017175209452",
                "249301195253213464692732376436089055935",
                "187342901094099139764635091985572043218",
                "249700963230709561691216888309839843822",
                "70968569168673505085688367711309184687",
                "337803075414464551900415282489768202131"
            ],
            "threshold": 0.9
        }
    },
    {
        "signature_type": "Function",
        "target": {
            "file": "xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-api/src/test/java/org/xwiki/search/solr/script/SolrIndexScriptServiceTest.java",
            "function": "indexSingleReferenceChecksRights"
        },
        "deprecated": false,
        "source": "https://github.com/xwiki/xwiki-platform/commit/6570f40f976aec82baf388b5239d1412cab238c9",
        "id": "CVE-2025-32971-2a09c6ba",
        "signature_version": "v1",
        "digest": {
            "function_hash": "167522038140324295685490309051094233111",
            "length": 325.0
        }
    },
    {
        "signature_type": "Function",
        "target": {
            "file": "xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-api/src/test/java/org/xwiki/search/solr/script/SolrIndexScriptServiceTest.java",
            "function": "openrationsOnMultipleReferencesOnTheSameWikiChecksRightsOnlyOnceForThatWiki"
        },
        "deprecated": false,
        "source": "https://github.com/xwiki/xwiki-platform/commit/6570f40f976aec82baf388b5239d1412cab238c9",
        "id": "CVE-2025-32971-40816cbb",
        "signature_version": "v1",
        "digest": {
            "function_hash": "96328889152371842839127264630791736451",
            "length": 509.0
        }
    },
    {
        "signature_type": "Function",
        "target": {
            "file": "xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-api/src/test/java/org/xwiki/search/solr/script/SolrIndexScriptServiceTest.java",
            "function": "operationsChecksRightsWithOtherReferences"
        },
        "deprecated": false,
        "source": "https://github.com/xwiki/xwiki-platform/commit/6570f40f976aec82baf388b5239d1412cab238c9",
        "id": "CVE-2025-32971-4228307a",
        "signature_version": "v1",
        "digest": {
            "function_hash": "155304530465939726981843185230320916520",
            "length": 399.0
        }
    },
    {
        "signature_type": "Function",
        "target": {
            "file": "xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-api/src/test/java/org/xwiki/search/solr/script/SolrIndexScriptServiceTest.java",
            "function": "deleteMultipleReferencesChecksRights"
        },
        "deprecated": false,
        "source": "https://github.com/xwiki/xwiki-platform/commit/6570f40f976aec82baf388b5239d1412cab238c9",
        "id": "CVE-2025-32971-51698e17",
        "signature_version": "v1",
        "digest": {
            "function_hash": "211105952348907996491200845569924344343",
            "length": 347.0
        }
    },
    {
        "signature_type": "Function",
        "target": {
            "file": "xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-api/src/test/java/org/xwiki/search/solr/script/SolrIndexScriptServiceTest.java",
            "function": "hasWikiAdminButNoProgrammingCausesRightsCheckFailure"
        },
        "deprecated": false,
        "source": "https://github.com/xwiki/xwiki-platform/commit/6570f40f976aec82baf388b5239d1412cab238c9",
        "id": "CVE-2025-32971-5bd37924",
        "signature_version": "v1",
        "digest": {
            "function_hash": "140750617484929976324006640125905450449",
            "length": 688.0
        }
    },
    {
        "signature_type": "Function",
        "target": {
            "file": "xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-api/src/test/java/org/xwiki/search/solr/script/SolrIndexScriptServiceTest.java",
            "function": "deleteSingleReferenceChecksRights"
        },
        "deprecated": false,
        "source": "https://github.com/xwiki/xwiki-platform/commit/6570f40f976aec82baf388b5239d1412cab238c9",
        "id": "CVE-2025-32971-72f0742e",
        "signature_version": "v1",
        "digest": {
            "function_hash": "167522038140324295685490309051094233111",
            "length": 325.0
        }
    },
    {
        "signature_type": "Function",
        "target": {
            "file": "xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-api/src/main/java/org/xwiki/search/solr/script/SolrIndexScriptService.java",
            "function": "checkAccessToWikiIndex"
        },
        "deprecated": false,
        "source": "https://github.com/xwiki/xwiki-platform/commit/6570f40f976aec82baf388b5239d1412cab238c9",
        "id": "CVE-2025-32971-8dcd42ad",
        "signature_version": "v1",
        "digest": {
            "function_hash": "104648545406699119365260465908813311384",
            "length": 330.0
        }
    },
    {
        "signature_type": "Function",
        "target": {
            "file": "xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-api/src/test/java/org/xwiki/search/solr/script/SolrIndexScriptServiceTest.java",
            "function": "openrationsOnMultipleReferencesOnDifferentWikisChecksRightsOnEachWiki"
        },
        "deprecated": false,
        "source": "https://github.com/xwiki/xwiki-platform/commit/6570f40f976aec82baf388b5239d1412cab238c9",
        "id": "CVE-2025-32971-942fa167",
        "signature_version": "v1",
        "digest": {
            "function_hash": "56584360274482318809450033308059354497",
            "length": 802.0
        }
    },
    {
        "signature_type": "Function",
        "target": {
            "file": "xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-api/src/test/java/org/xwiki/search/solr/script/SolrIndexScriptServiceTest.java",
            "function": "hasProgrammingButNoWikiAdminCausesRightsCheckFailure"
        },
        "deprecated": false,
        "source": "https://github.com/xwiki/xwiki-platform/commit/6570f40f976aec82baf388b5239d1412cab238c9",
        "id": "CVE-2025-32971-a6384feb",
        "signature_version": "v1",
        "digest": {
            "function_hash": "96192914119820879302919867995250567893",
            "length": 802.0
        }
    },
    {
        "signature_type": "Function",
        "target": {
            "file": "xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-api/src/test/java/org/xwiki/search/solr/script/SolrIndexScriptServiceTest.java",
            "function": "indexMultipleReferencesChecksRights"
        },
        "deprecated": false,
        "source": "https://github.com/xwiki/xwiki-platform/commit/6570f40f976aec82baf388b5239d1412cab238c9",
        "id": "CVE-2025-32971-b1141572",
        "signature_version": "v1",
        "digest": {
            "function_hash": "211105952348907996491200845569924344343",
            "length": 347.0
        }
    },
    {
        "signature_type": "Function",
        "target": {
            "file": "xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-api/src/test/java/org/xwiki/search/solr/script/SolrIndexScriptServiceTest.java",
            "function": "setUp"
        },
        "deprecated": false,
        "source": "https://github.com/xwiki/xwiki-platform/commit/6570f40f976aec82baf388b5239d1412cab238c9",
        "id": "CVE-2025-32971-f78e0418",
        "signature_version": "v1",
        "digest": {
            "function_hash": "188597877142645920508844174627004226655",
            "length": 950.0
        }
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-32971.json"