CVE-2007-0901: Moin Cross-Site Scripting Vulnerability
MODERATECVE-2007-0901 is a MODERATE cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Moin libraries in the PyPI ecosystem. The issue involves moinmoin cross-site scripting (xss) vulnerability via hitcounts and general parameters. Remediation is available by upgrading affected packages to version 1.5.8.
CVE-2007-0901 at a Glance
How to Fix CVE-2007-0901
To remediate this vulnerability, upgrade all affected Moin 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 Moin>=1.5.8
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show Moin
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2007-0901, inspect your installed packages using pip:
pip show Moin
Analyze the terminal output to locate any version of Moin in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.5.8), your application is affected.
Note: The pip show Moin 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 Moin, 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-2007-0901 Affected Moin Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
Moin
|
PyPI |
< 1.5.8
|
1.5.8
|
References
Frequently Asked Questions
What is CVE-2007-0901?
Which Moin versions are affected?
What version fixes CVE-2007-0901?
Is Moin affected?
What CWE is associated with CVE-2007-0901?
How can I check PyPI dependencies for CVE-2007-0901?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9gj2-ph57-56f5",
"modified" : "2023-10-17T13:39:29Z",
"published" : "2022-05-01T17:47:55Z",
"aliases" : [ "CVE-2007-0901" ],
"summary" : "MoinMoin Cross-Site Scripting (XSS) vulnerability via hitcounts and general parameters",
"details" : "Multiple cross-site scripting (XSS) vulnerabilities in Info pages in MoinMoin 1.5.7 allow remote attackers to inject arbitrary web script or HTML via the (1) hitcounts and (2) general parameters, different vectors than CVE-2007-0857. NOTE: the provenance of this information is unknown; the details are obtained solely from third party information.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "Moin"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.5.8"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.5.7"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2007-0901"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/moinwiki/moin"
}, {
"type" : "WEB",
"url" : "https://moinmo.in/MoinMoinRelease1.5/CHANGES"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20070214032031/http://secunia.com/advisories/24138"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20070227204439/http://secunia.com/advisories/24244"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20080516214454/http://www.securityfocus.com/bid/22515"
}, {
"type" : "WEB",
"url" : "http://www.ubuntu.com/usn/usn-423-1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-10-17T10:43:32Z",
"nvd_published_at" : "2007-02-13T20:28:00Z"
}
}