CVE-2019-12407: Cross-site Scripting in Apache JSPWiki

Summary

24/05/2022
Yes i
Moderate
6.1

CVE-2019-12407: Cross-site Scripting in Apache JSPWiki. Affects org.apache.jspwiki:jspwiki-war versions < 2.11.0.M5. Fixed in 2.11.0.M5. 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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Apache JSPWiki is an open-source Java-based wiki engine that allows users to create and manage content collaboratively. It provides a platform for creating and editing web pages, making it a popular choice for knowledge management systems and documentation websites. However, versions up to 2.11.0.M4 of Apache JSPWiki are vulnerable to a cross-site scripting (XSS) attack.

Vulnerability Detail

The XSS vulnerability in Apache JSPWiki arises from a flaw in the handling of plugin link invocations. By carefully crafting a plugin link, an attacker can trigger the vulnerability by exploiting the 'remember' parameter on certain JSPs. This allows the attacker to execute arbitrary JavaScript code in the victim's browser, potentially leading to the disclosure of sensitive information or the manipulation of user sessions.

How To Fix

Minimum fixed version

2.11.0.M5

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

If upgrading to the latest version is not immediately feasible, a temporary workaround is to disable the affected JSPs or remove the 'remember' parameter from the plugin link invocations. However, this workaround may impact the functionality of certain features or plugins.

Conclusion

In conclusion, Apache JSPWiki versions up to 2.11.0.M4 are vulnerable to a cross-site scripting (XSS) attack. It is crucial to upgrade to version 2.11.0.M5 or later to mitigate this vulnerability. If immediate upgrade is not possible, consider applying the provided workaround. For further support and assistance in vulnerability remediation, please contact DevNack.com.

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

Share this vulnerability

FAQ

Apache JSPWiki is an open-source Java-based wiki engine that allows users to create and manage content collaboratively.

Cross-site scripting (XSS) is a type of security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users.

This vulnerability allows an attacker to execute arbitrary JavaScript code in the victim's browser, potentially leading to the disclosure of sensitive information or the manipulation of user sessions.

To fix this vulnerability, it is recommended to upgrade to Apache JSPWiki version 2.11.0.M5 or later.

A temporary workaround is to disable the affected JSPs or remove the 'remember' parameter from the plugin link invocations.

Related vulnerabilities

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

How To Fix

Minimum fixed version

2.11.0.M5

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