application-urlshortener create shortened URLs for XWiki pages. Versions prior to 1.2.4 are vulnerable to users with view access being able to create arbitrary pages. Any user (even guests) can create these docs, even if they don't exist already. This can enable guest users to denature the structure of wiki pages, by creating 1000's of pages with random name, that then become very difficult to handle by admins. Version 1.2.4 fixes the issue. No known workarounds are available.
{
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/48xxx/CVE-2025-48885.json",
"cwe_ids": [
"CWE-352"
]
}[
{
"signature_version": "v1",
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"53065371535740115669912798628045757436",
"76738824961157084985615220847696783930",
"278076977539641942674074385608241392019",
"60332503152274677147398824016862769293",
"188496605561010009014916086139955295478",
"153474917548728748893466318322449627694",
"70142444341981080893685720497963809243",
"243259789256974775006971781586240561359",
"178646577002597893504639985189093940698",
"153474917548728748893466318322449627694",
"102039619047111096715143764648622726392",
"253408748532053094334049015778953907799",
"324452709762582750066935067250120055411",
"326815099825926106548926991264909762157",
"222630912945582675179656806210178180603",
"116366436348337469574301061075782856847",
"242565768594524952293932961958802606752",
"190136835349965503870014078416861348992",
"91754570323261923792720644242193077950",
"71267621902821447243278427272385050275",
"305162063562918476441139215485096365233",
"66874108314583897743828163564347495131",
"224610923006572119078481538374058808855",
"158153716381833693445365111144162010891"
]
},
"id": "CVE-2025-48885-1a5f1165",
"signature_type": "Line",
"source": "https://github.com/xwikisas/application-urlshortener/commit/f121a9c973fd25948e82efcb6289d53fe00a9e7d",
"target": {
"file": "application-urlshortener-default/src/test/java/com/xwiki/urlshortener/internal/rest/DefaultURLShortenerResourceTest.java"
}
},
{
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 639.0,
"function_hash": "240127175897113172112794680446630734727"
},
"id": "CVE-2025-48885-755de2ce",
"signature_type": "Function",
"source": "https://github.com/xwikisas/application-urlshortener/commit/f121a9c973fd25948e82efcb6289d53fe00a9e7d",
"target": {
"function": "createShortenedURLWithObject",
"file": "application-urlshortener-default/src/test/java/com/xwiki/urlshortener/internal/rest/DefaultURLShortenerResourceTest.java"
}
},
{
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 616.0,
"function_hash": "306143118416571143972972974254475157676"
},
"id": "CVE-2025-48885-a778fd45",
"signature_type": "Function",
"source": "https://github.com/xwikisas/application-urlshortener/commit/f121a9c973fd25948e82efcb6289d53fe00a9e7d",
"target": {
"function": "createShortenedURL",
"file": "application-urlshortener-default/src/main/java/com/xwiki/urlshortener/internal/rest/DefaultURLShortenerResource.java"
}
},
{
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 1080.0,
"function_hash": "198172631107442058129686866418384519024"
},
"id": "CVE-2025-48885-d4dac13b",
"signature_type": "Function",
"source": "https://github.com/xwikisas/application-urlshortener/commit/f121a9c973fd25948e82efcb6289d53fe00a9e7d",
"target": {
"function": "createShortenedURLWithoutObject",
"file": "application-urlshortener-default/src/test/java/com/xwiki/urlshortener/internal/rest/DefaultURLShortenerResourceTest.java"
}
},
{
"signature_version": "v1",
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"18349062962687521287584361581241816512",
"279483329905906920746847651597957066234",
"289314449178476561527297333196845967457",
"208686452636205970510670472848522931944"
]
},
"id": "CVE-2025-48885-dfe19d36",
"signature_type": "Line",
"source": "https://github.com/xwikisas/application-urlshortener/commit/f121a9c973fd25948e82efcb6289d53fe00a9e7d",
"target": {
"file": "application-urlshortener-default/src/main/java/com/xwiki/urlshortener/internal/rest/DefaultURLShortenerResource.java"
}
},
{
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 465.0,
"function_hash": "4531133678565052598992722234350426105"
},
"id": "CVE-2025-48885-e8a94777",
"signature_type": "Function",
"source": "https://github.com/xwikisas/application-urlshortener/commit/f121a9c973fd25948e82efcb6289d53fe00a9e7d",
"target": {
"function": "createShortenedURLWithoutViewAccess",
"file": "application-urlshortener-default/src/test/java/com/xwiki/urlshortener/internal/rest/DefaultURLShortenerResourceTest.java"
}
},
{
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 1129.0,
"function_hash": "277953810972998687025284635890030497927"
},
"id": "CVE-2025-48885-eb5f3eec",
"signature_type": "Function",
"source": "https://github.com/xwikisas/application-urlshortener/commit/f121a9c973fd25948e82efcb6289d53fe00a9e7d",
"target": {
"function": "createShortenedURLWithErrorOnPageID",
"file": "application-urlshortener-default/src/test/java/com/xwiki/urlshortener/internal/rest/DefaultURLShortenerResourceTest.java"
}
}
]
"2026-07-22T04:02:05Z"
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-48885.json"