CVE-2025-24853: Apache JSPWiki Cross-Site Scripting (XSS) Vulnerability via Header Link Rendering

Summary

31/07/2025
Yes i
Moderate
6.9

CVE-2025-24853: Apache JSPWiki Cross-Site Scripting (XSS) Vulnerability via Header Link Rendering. Affects org.apache.jspwiki:jspwiki-main versions < 2.12.3. Fixed in 2.12.3. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Apache JSPWiki is a popular open-source wiki engine that allows users to create and manage wiki content using a simple markup syntax. It is designed for ease of use and flexibility, enabling collaborative content creation. However, it has been found to be vulnerable to a Cross-Site Scripting (XSS) attack, particularly when rendering header links using the wiki markup syntax.

Vulnerability Detail

The vulnerability arises from the improper handling of user input when creating header links. An attacker can craft a malicious request that executes JavaScript in the victim's browser, potentially leading to the theft of sensitive information. This issue is compounded by the markdown parser's ability to process similar attacks, making it critical for users to address this vulnerability promptly.

How To Fix

Minimum fixed version

2.12.3

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary measure, users can sanitize user inputs to prevent the execution of malicious scripts. This can involve implementing input validation and escaping special characters in user-generated content.

Conclusion

The Apache JSPWiki vulnerability identified as CVE-2025-24853 poses a significant risk due to its potential for Cross-Site Scripting attacks. Users are strongly advised to upgrade to version 2.12.3 or later to mitigate this risk. Implementing input validation can serve as a temporary measure until the upgrade is completed.

See every vulnerability recorded for org.apache.jspwiki:jspwiki-main →

Share this vulnerability

FAQ

The vulnerability is a Cross-Site Scripting (XSS) issue that allows attackers to execute JavaScript in the victim's browser through crafted header links.

Any user of Apache JSPWiki versions prior to 2.12.3 is at risk of this vulnerability.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without requiring any signup.

If an immediate upgrade is not possible, implement input validation and sanitization as a temporary workaround to mitigate the risk.

If exploited, this vulnerability can lead to unauthorized access to sensitive information, session hijacking, and other malicious activities affecting users.

Related vulnerabilities

Recent vulnerabilities recorded for org.apache.jspwiki:jspwiki-main.

How To Fix

Minimum fixed version

2.12.3

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback