VYPR
Moderate severityNVD Advisory· Published Jul 29, 2019· Updated Aug 5, 2024

CVE-2019-1020019

CVE-2019-1020019

Description

Cross-Site Scripting (XSS) vulnerabilities in invenio-previewer before 1.0.0a12 allow attackers to execute arbitrary JavaScript via crafted JSON, Markdown, or iPython Notebook files.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Cross-Site Scripting (XSS) vulnerabilities in invenio-previewer before 1.0.0a12 allow attackers to execute arbitrary JavaScript via crafted JSON, Markdown, or iPython Notebook files.

According to NVD [1], invenio-previewer before 1.0.0a12 contains multiple Cross-Site Scripting (XSS) vulnerabilities. The flaws exist in the JSON, Markdown, and iPython Notebook previewers, where user-uploaded file content is rendered without proper sanitization, allowing embedded scripts to execute in the browser [3][4].

An attacker can exploit these vulnerabilities by uploading a maliciously crafted JSON, Markdown, or iPython Notebook file containing embedded JavaScript. When a victim views the file using the affected previewer, the script executes in the victim's browser context. The attack requires the ability to upload files but no special privileges beyond that [3][4].

Successful exploitation enables the attacker to execute arbitrary JavaScript in the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive data [3].

The issue is fixed in invenio-previewer version 1.0.0a12. As a workaround, administrators can disable the affected previewers (json_prismjs, mistune, ipynb) by modifying the PREVIEWER_PREFERENCE configuration list [3][4].

AI Insight generated on May 22, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
invenio-previewerPyPI
< 1.0.0a121.0.0a12

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

4

News mentions

0

No linked articles in our index yet.