Skip to content

Stored XSS via malicious Plan extensions.

Moderate
AuroraLS3 published GHSA-j5g3-87hp-6jx5 Mar 1, 2026

Package

maven com.djrapitops.Plan (Maven)

Affected versions

5.5+build.2076 < 5.6+build.2965

Patched versions

5.7+build.3247

Description

Summary

Stored XSS via malicious Plan extensions.

Details

The vulnerability is in react-mcjsonchat@1.0.0 dependency, used by Plan's React dashboard.
Vulnerable code: node_modules/react-mcjsonchat/dist/esm/index.js:90-92

case "open_url":
      return React.createElement("a", { href: clickEvent.value, ...}, props.children);

clickEvent.value is passed directly to href without URL validation, allowing javascript: execution.

Flow:

  1. Extension returns @ComponentProvider with clickEvent.action: "open_url" and clickEvent.value: "javascript:..."
  2. Plan stores JSON in database → API returns as type: "COMPONENT"
  3. ExtensionCard.jsx:61 passes to <MinecraftChat component={JSON.parse(data.value)}/>
  4. react-mcjsonchat renders <a href="javascript:...">

Plan could sanitize the parsed JSON before passing it or validate clickEvent.value URLs.

PoC

  1. Install attached xss-test-plugin-1.0.0.jar(https://gofile.io/d/laeK35)
  2. Open Plan dashboard
  3. Navigate to Plugins Overview
  4. Click "Click here" link
  5. Alert shows document.cookie

Impact

Stored xss impacts dashboard users

Severity

Moderate

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Local
Attack complexity
High
Privileges required
High
User interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N

CVE ID

No known CVE

Weaknesses

Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)

The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special characters such as <, >, and & that could be interpreted as web-scripting elements when they are sent to a downstream component that processes web pages. Learn more on MITRE.

Credits