Reposilite: Reflected XSS in directory listing pages (privilege escalation via token theft)

State
Published
Severity
5.7 Medium
Published
Nov 19, 2026
Updated
Nov 20, 2026
Reserved
Jun 9, 2026

Read the record on cve.org

Description

Reposilite is lightweight and easy-to-use repository management software dedicated to Maven-based artifacts in the JVM ecosystem. From 3.5.16 until 3.6.0, as stated by the advisory, the Maven directory-index page interpolates the request URI without HTML escaping in its title, heading, base URL, and parent-directory link. The advisory says the content-embedded ctx.uri() is percent-encoded, preventing tag injection, but that a single quote passes through and breaks the quoted Parent-Directory link; it also says Location.of strips single quotes, so the reachability of the described quote-based trigger remains unresolved. The listing shares the Admin UI origin and does not set the sandbox Content-Security-Policy used for artifact and Javadoc responses, so the reported script execution could access a user's local-storage token. A manager token could enable full instance compromise. The advisory reports version 3.6.0 as fixed.

ProductVersions
reposilite dzikoysk>= 3.5.16, < 3.6.0 Affected

Weaknesses

  • CWE-79 Improper Neutralization of Input During Web Page Generation
  • CWE-83 Improper Neutralization of Script in Attributes in a Web Page
  • CWE-116 Improper Encoding or Escaping of Output

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.