CVE-2019-11291 — rabbit_common
MEDIUMCVE-2019-11291 is a medium-severity (CVSS 4.8) Cross-site Scripting (XSS) vulnerability in rabbit_common. A fix is available for rabbit_common — see the affected versions and patch details below.
Cross-site Scripting in RabbitMQ
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
rabbit_common💧rabbit_commonReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Hex packages — download data is not available via public APIs for these ecosystems.
Description
Pivotal RabbitMQ, 3.7 versions prior to v3.7.20 and 3.8 version prior to v3.8.1, and RabbitMQ for PCF, 1.16.x versions prior to 1.16.7 and 1.17.x versions prior to 1.17.4, contain two endpoints, federation and shovel, which do not properly sanitize user input. A remote authenticated malicious user with administrative access could craft a cross site scripting attack via the vhost or node name fields that could grant access to virtual hosts and policy management information.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 💧Hex | rabbit_common | ≥ 3.7.0&&< 3.7.20 | 3.7.20mix deps.update rabbit_common |
| 💧Hex | rabbit_common | ≥ 3.8.0&&< 3.8.1 | 3.8.1mix deps.update rabbit_common |
Affected Products
rabbitmq serverbroadcomopenstackredhatrabbitmqvmwareDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for rabbit_common, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update rabbit_common to 3.7.20 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2019-11291 is resolved across your whole dependency graph.
Workarounds
Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat OpenStack Platform 15.0 (Stein) | rabbitmq-server-0:3.7.23-2.el8ost | RHSA-2020:0553 |
Frequently Asked Questions
Is CVE-2019-11291 in your dependencies?
Find it across Hex, including transitive dependencies.