Skip to main content

RepoManager CVE-2026-130158

| EUVDEUVD-2026-130528 CRITICAL
Cross-site Scripting (XSS) (CWE-79)
2026-11-19 GitHub_M
9.0
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Log in, generate personal API key
  2. Delivery
    Register host, submit crafted package metadata
  3. Exploit
    Payload stored unescaped in host inventory
  4. Execution
    Admin opens host page, script executes
  5. Impact
    Forge admin actions or exfiltrate admin data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires: (1) an attacker who can log in to any user account to generate a personal API key and register a host, or who already holds any host/API credential (PR:L); (2) submission of attacker-controlled package metadata through the agent API - the package name and version on the inventory path (setPackagesInventory, Package.php line 286) or name, version and repository on the available-update path (setPackagesAvailable, line 322), none of which are validated on input or HTML-escaped on output; and (3) an administrator must subsequently open the affected host's package detail page in the web UI for the stored script to run (UI:R). Limiting factors that reduce realistic risk: valid credentials are needed (not unauthenticated), execution is deferred until an admin views the specific host page, and only RepoManager <= 5.13.2 is affected. The absence of a CSRF token on the AJAX/API layer, noted in the advisory, increases impact once the script runs by enabling forged admin actions. Updating to 5.13.3 (which adds Validate::string sanitization on input) is the fix.

Impact

The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H, base 9.0) and the vuln.today 'act_now' decision label both point to a high-priority issue, and the GHSA advisory publishes a complete, working step-by-step PoC (curl requests against /api/v2/host/packages/installed), so this is a concrete, reproducible flaw rather than a theoretical high-CVSS item. However, several signals temper the raw score: it is not listed in CISA KEV and no EPSS probability is supplied in the input, so there is no evidence of widespread or automated exploitation - exploitation is credential-gated (PR:L: attacker must log in to a user account and mint a host/API key) and requires an administrator to later view the affected host page (UI:R), making this an opportunistic/targeted stored-XSS chain rather than a mass-exploitable remote code execution. The S:C/C:H/I:H/A:H impact is driven by the payload executing in the administrator's authenticated session combined with the advisory's note that there is no CSRF token on the AJAX/API layer, allowing forged admin actions; the A:H rating is the most debatable metric for an XSS flaw, since availability impact is only indirect through forced admin actions. Net: a genuine priority to patch for anyone running RepoManager with multiple/low-trust host or user accounts, but its real-world blast radius is bounded by the low deployment footprint and the authenticated-plus-admin-interaction preconditions.

Exploit ScenarioDerived

A low-privileged user logs in, generates a personal API key, and registers a host, then uses the returned host credential to push package inventory whose package name field contains a stored JavaScript payload (e.g. an <img src=x onerror=...> tag). When an administrator later opens that host's package detail page under HOSTS, the payload executes in the admin's authenticated browser session and can read admin-visible data or forge privileged requests. A public PoC with the exact curl commands is documented in the GHSA advisory; it is not independently verified as weaponized exploit code beyond the alert() demonstration.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 19, 2026

Stored cross-site scripting in RepoManager 5.13.2 and earlier lets any principal holding a host or API credential - or anyone who can log in to an ordinary account and register a host - plant HTML and JavaScript in package metadata that later executes in an administrator's authenticated browser session once that host's package detail page is opened. The injected values survive on both the inventory path (package name and version) and the available-update path (name, version and repository) because they are neither validated on input nor HTML-escaped on output, and once the script runs it can read administrative data and forge privileged requests against an AJAX/API layer that carries no CSRF token. The vendor fix is 5.13.3; the GHSA advisory publishes a complete step-by-step curl reproduction, no CISA KEV listing is recorded at time of analysis, and no exploit status beyond that advisory PoC reference was confirmed.

RemediationAI

Upgrade RepoManager to 5.13.3 (https://github.com/lbr38/repomanager/releases/tag/5.13.3), which applies Validate::string() to host-supplied package name and version in setPackagesInventory() and to name, version and repository in setPackagesAvailable(), with the change carried in PR https://github.com/lbr38/repomanager/pull/403 and commit https://github.com/lbr38/repomanager/commit/d380579c84accf1786934deee245650bbc68a562. The advisory notes that input sanitization is sufficient here because these values are only rendered in an HTML context, while output escaping in views/includes/tables/host/available-packages.inc.php and views/includes/containers/host/packages.inc.php is still recommended as defense-in-depth against XSS generally. No vendor-published interim workaround is described in the available sources, and full details of the fix and its rationale are in https://github.com/lbr38/repomanager/security/advisories/GHSA-4766-qc2v-p59h.

Affected VersionsENISA

repomanager < 5.13.3

Affected Packages

euvd repomanager fix: 5.13.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

RepoManager is a self-hosted PHP application for managing deb/rpm package repositories, with a per-host agent API under /api/v2/host (registering, packages/installed and the available-update path) that accepts JSON bodies which are decoded with json_decode() and passed straight into the Controllers\Host\Package\Package class. This is CWE-79 (improper neutralization of input during web page generation) in its stored/persistent form: in setPackagesInventory() (Package.php line 286) the name and version fields, and in setPackagesAvailable() (line 322) the name, version and repository fields, are persisted without sanitization and then rendered into views/includes/tables/host/available-packages.inc.php and views/includes/containers/host/packages.inc.php without output escaping, so markup is interpreted by the browser. The CPE cpe:2.3:a:lbr38:repomanager:*:*:*:*:*:*:*:* tracks every release before the 5.13.3 fix. Because the payload is written by a low-privileged host principal but executes in an administrator's session, the CVSS scope is Changed (S:C), reflecting the crossing of a privilege boundary; the assessed vector is CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L, with the requirement that an administrator later visits the affected host page (UI:R) tempering but not removing the impact.

Know when Repomanager gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 9.0 CRITICAL
AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
vuln.today AI 8.9 HIGH

API-reachable stored XSS needing a low-privilege host/API credential (PR:L) and deferred admin view (UI:R); payload runs in admin context crossing a privilege boundary (S:C), exposing data and forging actions (C:H/I:H) with only indirect availability impact (A:L).

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Nov 19, 2026 - 20:04 EUVD
CVE Published
Nov 19, 2026 - 18:41 cve.org
CRITICAL 9.0

DescriptionCVE.org

RepoManager is a self-hosted deb/rpm package repository. Prior to 5.13.3, a registered host or a party with its host/API credential can submit package metadata. Inventory reporting accepts package name and version, while available-update reporting accepts package name, version, and repository; the repository field exists only on that path. RepoManager stores these values, and stored values are rendered on the host's package detail page without preventing stored HTML or JavaScript from executing. An administrator must later view the page for script execution. The script runs in the administrator's authenticated browser session and can expose administrative data or forge privileged requests; the advisory describes possible escalation through admin-only functionality. Fixed in 5.13.3.

Technical POC Analysis

Stored XSS, CWE-79 - Improper Neutralization of Input During Web Page Generation.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

CVE-2026-130158 is a critical stored cross-site scripting vulnerability in RepoManager (versions 5.13.2 and earlier) that allows users with basic account access to inject malicious scripts into package metadata, which then execute in administrators' browsers. This could enable attackers to steal administrative data, forge privileged API requests, and compromise the integrity of the software repository management system, affecting IT operations, security, and potentially the entire software supply chain. Leadership must prioritize remediation to prevent unauthorized access and potential data breaches.

Business Impact: Severe
Compensating Controls

Apply vendor patch. Until patched, enforce network segmentation to limit access to RepoManager, implement WAF rules to filter malicious input, and monitor for anomalous administrative actions.

Threat Intelligence Overview

EPSS Score
0.3%
Top 74% exploitable
Prevalence
Low
niche self-hosted open-source deb/rpm repo manager, limited enterprise footprint
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +45
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy