CVE-2019-1020005 is a medium-severity (CVSS 5.4) Cross-site Scripting (XSS) vulnerability in invenio-communities. A fix is available for invenio-communities — see the affected versions and patch details below.
Cross-site Scripting in invenio-communities
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
invenio-communitiesReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.
Description
Cross-Site Scripting (XSS) vulnerability in Jinja templates
Impact
A Cross-Site Scripting (XSS) vulnerability was discovered in two Jinja templates in the Invenio-Communities module. The vulnerability allows a user to create a new community and include script element tags inside the description and page fields.
Patches
The problem has been patched in v1.0.0a20.
For more information
If you have any questions or comments about this advisory:
- Email us at [email protected]
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐍PyPI | invenio-communities | all versions | 1.0.0a20pip install --upgrade 'invenio-communities==1.0.0a20' |
Affected Products
invenio-communitiesinveniosoftwareDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for invenio-communities, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update invenio-communities to 1.0.0a20 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2019-1020005 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.
Frequently Asked Questions
Is CVE-2019-1020005 in your dependencies?
Find it across PyPI, including transitive dependencies.