Every CVE Search/ Get API key

CVE-2019-1020019

Cross-site Scripting in invenio-previewer

6.1 MediumFix available

invenio-previewer before 1.0.0a12 allows XSS.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
None

Exploit likelihood

0.90%Up 0.5 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 6.1

invenio-previewer before 1.0.0a12 allows XSS.

Record
CVE-2019-1020019
CVSS 3.0
6.1 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:P/A:N
Weakness
CWE-79
Updated
2026-11-02
CVE List No score

invenio-previewer before 1.0.0a12 allows XSS.

Record
CVE-2019-1020019
Updated
2026-11-02
EUVDEUVD-2019-0063 No score

invenio-previewer before 1.0.0a12 allows XSS.

Record
EUVD-2019-0063
Updated
2026-11-03
GitHub AdvisoriesGHSA-j9m2-6hq2-4r3c 5.3

Cross-site Scripting in invenio-previewer

Cross-Site Scripting (XSS) vulnerability in JSON, Markdown and iPython Notebook previewers

Impact

Several Cross-Site Scripting (XSS) vulnerabilities have been found in the JSON, Markdown and iPython Notebook previewers. The vulnerabilities would allow a malicous user to upload a JSON, Markdown or Notebook file with embedded scripts that would be executed by a victims browser.

Patches

Invenio-Previewer v1.0.0a12 fixes the issue.

Workarounds

You can remediate the vulnerability without upgrading by disabling the affected previewers. You do this by adding the following to your configuration:

PREVIEWER_PREFERENCE = [
    'csv_dthreejs',
    'simple_image',
    # 'json_prismjs',
    'xml_prismjs',
    # 'mistune',
    'pdfjs',
    # 'ipynb',
    'zip',
]

Afterwards, you should not be able to preview JSON, Markdown or iPython Notebook files.

For more information

If you have any questions or comments about this advisory:

Record
GHSA-j9m2-6hq2-4r3c
CVSS 4.0
5.3 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
CVSS 3.0
6.1 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Updated
2026-11-02
OSV 6.1

invenio-previewer before 1.0.0a12 allows XSS.

Record
CVE-2019-1020019
CVSS 3.0
6.1 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Updated
2026-11-02
OSVGHSA-j9m2-6hq2-4r3c 5.3

Cross-site Scripting in invenio-previewer

Cross-Site Scripting (XSS) vulnerability in JSON, Markdown and iPython Notebook previewers

Impact

Several Cross-Site Scripting (XSS) vulnerabilities have been found in the JSON, Markdown and iPython Notebook previewers. The vulnerabilities would allow a malicous user to upload a JSON, Markdown or Notebook file with embedded scripts that would be executed by a victims browser.

Patches

Invenio-Previewer v1.0.0a12 fixes the issue.

Workarounds

You can remediate the vulnerability without upgrading by disabling the affected previewers. You do this by adding the following to your configuration:

PREVIEWER_PREFERENCE = [
    'csv_dthreejs',
    'simple_image',
    # 'json_prismjs',
    'xml_prismjs',
    # 'mistune',
    'pdfjs',
    # 'ipynb',
    'zip',
]

Afterwards, you should not be able to preview JSON, Markdown or iPython Notebook files.

For more information

If you have any questions or comments about this advisory:

Record
GHSA-j9m2-6hq2-4r3c
CVSS 4.0
5.3 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
CVSS 3.0
6.1 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Updated
2026-11-02
OSVPYSEC-2019-26 No score

invenio-previewer before 1.0.0a12 allows XSS.

Record
PYSEC-2019-26
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
invenio-previewer
PyPI
through 1.0.0a11
1.0.0a12
invenio-previewer
PyPI
before 1.0.0a12, plus listed versions
0.1.01.0.0a101.0.0a111.0.0a21.0.0a3
Show 6 moreShow less
1.0.0a41.0.0a51.0.0a61.0.0a71.0.0a81.0.0a9
1.0.0a12
invenio-previewer
PyPI
before 1.0.0a12, plus listed versions
0.1.01.0.0a21.0.0a31.0.0a41.0.0a5
Show 6 moreShow less
1.0.0a61.0.0a71.0.0a81.0.0a91.0.0a101.0.0a11
1.0.0a12

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2019-1020019 is a medium vulnerability (CVSS 6.1) in Invenio Invenio-previewer, published July 16, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.90%, the 59th percentile. Fixed in invenio-previewer 1.0.0a12.

References

MoveEnter Open