CVE-2023-37901: Indico Indico Vulnerable To Cross-Site-Scripting Vulnerability
MODERATECVE-2023-37901 is a MODERATE (CVSS 5.4) indico vulnerable to cross-site-scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Indico libraries in the PyPI ecosystem. The issue involves indico vulnerable to cross-site-scripting via confirmation prompts. Remediation is available by upgrading affected packages to version 3.2.6.
CVE-2023-37901 at a Glance
Security Impact
CVSS: 5.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N).
How to Fix CVE-2023-37901
To remediate this vulnerability, upgrade all affected Indico dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install indico>=3.2.6
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show indico
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2023-37901, inspect your installed packages using pip:
pip show indico
Analyze the terminal output to locate any version of Indico in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.2.6), your application is affected.
Note: The pip show indico command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Indico, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-37901 Affected Indico Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
indico
|
PyPI |
< 3.2.6
|
3.2.6
|
References
Frequently Asked Questions
What is CVE-2023-37901?
Which Indico versions are affected?
What version fixes CVE-2023-37901?
Is indico affected?
What is the CVSS score of CVE-2023-37901?
What CWE is associated with CVE-2023-37901?
How can I check PyPI dependencies for CVE-2023-37901?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-fmqq-25x9-c6hm",
"modified" : "2024-09-23T17:02:05Z",
"published" : "2023-07-21T20:24:10Z",
"aliases" : [ "CVE-2023-37901" ],
"summary" : "Indico vulnerable to Cross-Site-Scripting via confirmation prompts",
"details" : "### Impact\nThere is a Cross-Site-Scripting vulnerability in confirmation prompts commonly used when deleting content from Indico.\nExploitation requires someone with at least submission privileges (such as a speaker) and then someone else to attempt to delete this content.\n\nConsidering that event organizers may want to delete suspicious-looking content when spotting it, there is a non-negligible risk of such an attack to succeed. The risk of this could be further increased when combined with some some social engineering pointing the victim towards this content.\n\n### Patches\nYou need to update to [Indico 3.2.6](https://github.com/indico/indico/releases/tag/v3.2.6) as soon as possible.\nSee [the docs](https://docs.getindico.io/en/stable/installation/upgrade/) for instructions on how to update.\n\n### Workarounds\nOnly let trustworthy users manage categories, create events or upload materials (\"submission\" privileges on a contribution/event). This should already be the case in a properly-configured setup when it comes to category/event management.\n\nNote that a conference doing a Call for Abstracts actively invites external speakers (who the organizers may not know and thus cannot fully trust) to submit content, hence the need to update to a a fixed version ASAP in particular when using such workflows.\n\nFor more information\n\nIf you have any questions or comments about this advisory:\n\n* Open a thread in [our forum](https://talk.getindico.io/)\n* Email us privately at [indico-team@cern.ch](mailto:indico-team@cern.ch)",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "indico"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.2.6"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/indico/indico/security/advisories/GHSA-fmqq-25x9-c6hm"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-37901"
}, {
"type" : "WEB",
"url" : "https://github.com/indico/indico/commit/2ee636d318653fb1ab193803dafbfe3e371d4130"
}, {
"type" : "WEB",
"url" : "https://docs.getindico.io/en/stable/installation/upgrade"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/indico/indico"
}, {
"type" : "WEB",
"url" : "https://github.com/indico/indico/releases/tag/v3.2.6"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/indico/PYSEC-2023-129.yaml"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-07-21T20:24:10Z",
"nvd_published_at" : "2023-07-21T19:15:10Z"
}
}