CVE-2025-24853 Apache JSPWiki: Cross-Site Scripting (XSS) in JSPWiki Header Link processing

High 7.5 Published Updated

Attackers can execute JavaScript in victims' browsers via crafted header links, potentially stealing sensitive information.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-24853?

CVE-2025-24853 is a high-severity cross-site scripting vulnerability in Apache JSPWiki, published on 31 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A carefully crafted request when creating a header link using the wiki markup syntax, which could allow the attacker to execute javascript in the victim's browser and get some sensitive information about the victim.

Further research by the JSPWiki team showed that the markdown parser allowed this kind of attack too.

Apache JSPWiki users should upgrade to 2.12.3 or later.

Weakness: CWE-79

Which versions are affected by CVE-2025-24853?

4 open source packages ship an affected version, including org.apache.jspwiki:jspwiki-main and org.apache.jspwiki:jspwiki-markdown. It affects 1 product.

PackageAffectedFixed in
org.apache.jspwiki:jspwiki-main MavenAll versions2.12.3
org.apache.jspwiki:jspwiki-main MavenAll versions2.12.3
org.apache.jspwiki:jspwiki-markdown MavenAll versions2.12.3
org.apache.jspwiki:jspwiki-markdown MavenAll versions2.12.3

Products include Apache Jspwiki.

How do I fix CVE-2025-24853?

Upgrade org.apache.jspwiki:jspwiki-main to 2.12.3 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2025-24853 being exploited?

There is no known exploitation of CVE-2025-24853 in the wild and no public exploit code.

Sources

Also known as GHSA-rrff-chj9-w4c7.

Is CVE-2025-24853 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free