CVE-2010-0828: Moin Cross-Site Scripting Vulnerability

MODERATE
Advisory Identifier: GHSA-fc72-v54c-x9jg
CVSS 5.4
CWE-79
Published
Advisory Summary

CVE-2010-0828 is a MODERATE (CVSS 5.4) 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. Remediation is available by upgrading affected packages to version 1.9.3, 1.8.8.

CVE-2010-0828 at a Glance

CVE Identifier CVE-2010-0828
GHSA Identifier GHSA-fc72-v54c-x9jg
Severity MODERATE
CVSS v3.1 Base Score 5.4
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Moin
Package Ecosystem PyPI
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2010-0828

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.

moin fixed: 1.9.3
pip install moin>=1.9.3
moin fixed: 1.8.8
pip install moin>=1.8.8
Verify Direct and Transitive Dependencies

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-2010-0828, 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.9.3), 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

Cross-site scripting (XSS) vulnerability in `action/Despam.py` in the Despam action module in MoinMoin 1.8.7 and 1.9.2 allows remote authenticated users to inject arbitrary web script or HTML by creating a page with a crafted URI.

CVE-2010-0828 Affected Moin Versions

2 component(s)
Fixed Versions:
1.9.31.8.8
Product / Package Ecosystem Affected Versions Fixed Version
moin
PyPI
≥ 1.9.0
< 1.9.3
1.9.3
moin
PyPI
≥ 1.8.0
< 1.8.8
1.8.8

References

NVD — CVE-2010-0828 NVD
https://nvd.nist.gov/vuln/detail/CVE-2010-0828
www.ubuntu.com/usn/usn-925-1 WEB
https://www.ubuntu.com/usn/USN-925-1
Moin Security Information SECURITY
https://www.debian.org/security/2010/dsa-2024
web.archive.org/web/20221025223621/... WEB
https://web.archive.org/web/20221025223621/http://hg.moinmo.in/moin/1.8
web.archive.org/web/20221003055226/... WEB
https://web.archive.org/web/20221003055226/http://hg.moinmo.in/moin/1.9/rev/788131dd21c3
web.archive.org/web/20220927220946/... WEB
https://web.archive.org/web/20220927220946/http://hg.moinmo.in/moin/1.9/rev/689e2b04bd4d
web.archive.org/web/20200228163432/... WEB
https://web.archive.org/web/20200228163432/http://hg.moinmo.in/moin/1.9/rev/6e603e5411ca
Moin Security Information SECURITY
https://web.archive.org/web/20200228163431/http://www.securityfocus.com/bid/39110
web.archive.org/web/20151104183344/... WEB
https://web.archive.org/web/20151104183344/http://secunia.com/advisories/39188
web.archive.org/web/20151017033557/... WEB
https://web.archive.org/web/20151017033557/http://secunia.com/advisories/39190
web.archive.org/web/20151017033127/... WEB
https://web.archive.org/web/20151017033127/http://secunia.com/advisories/39267
web.archive.org/web/20151017002542/... WEB
https://web.archive.org/web/20151017002542/http://secunia.com/advisories/39284
Moin Source Repository REPOSITORY
https://github.com/pypa/advisory-database/tree/main/vulns/moin/PYSEC-2010-28.yaml
Moin Source Repository REPOSITORY
https://github.com/moinwiki/moin
exchange.xforce.ibmcloud.com/vulnerabilities/574... WEB
https://exchange.xforce.ibmcloud.com/vulnerabilities/57435
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=578801
bugs.launchpad.net/ubuntu/+source/moin... WEB
https://bugs.launchpad.net/ubuntu/+source/moin/+bug/538022
bugs.debian.org/cgi-bin/bugreport.c... WEB
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=575995
Moin Security Information SECURITY
http://hg.moinmo.in/moin/1.9/rev/6e603e5411ca
lists.fedoraproject.org/pipermail/package-a... WEB
http://lists.fedoraproject.org/pipermail/package-announce/2010-April/038490.html
lists.fedoraproject.org/pipermail/package-a... WEB
http://lists.fedoraproject.org/pipermail/package-announce/2010-April/038574.html
lists.fedoraproject.org/pipermail/package-a... WEB
http://lists.fedoraproject.org/pipermail/package-announce/2010-April/038706.html

Frequently Asked Questions

What is CVE-2010-0828?
CVE-2010-0828 is a security vulnerability in Moin involving MoinMoin Cross-site Scripting (XSS) vulnerability under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Moin versions are affected?
Affected versions include releases prior to 1.9.3, 1.8.8 across affected packages: moin.
What version fixes CVE-2010-0828?
Upgrading to 1.9.3, 1.8.8 (or the latest patched release for your respective branch) resolves the vulnerability.
Is moin affected?
Yes, moin is affected in releases prior to 1.9.3, 1.8.8. Upgrade your dependency to 1.9.3, 1.8.8 or later.
What is the CVSS score of CVE-2010-0828?
CVE-2010-0828 has a CVSS v3.1 base score of 5.4 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
What CWE is associated with CVE-2010-0828?
CVE-2010-0828 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (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.).
How can I check PyPI dependencies for CVE-2010-0828?
Run the dependency tree command: 'pip show moin'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-fc72-v54c-x9jg",
  "modified" : "2024-09-26T16:28:41Z",
  "published" : "2022-05-02T06:15:57Z",
  "aliases" : [ "CVE-2010-0828" ],
  "summary" : "MoinMoin Cross-site Scripting (XSS) vulnerability",
  "details" : "Cross-site scripting (XSS) vulnerability in `action/Despam.py` in the Despam action module in MoinMoin 1.8.7 and 1.9.2 allows remote authenticated users to inject arbitrary web script or HTML by creating a page with a crafted URI.",
  "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:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "moin"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.9.0"
      }, {
        "fixed" : "1.9.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "moin"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.8.0"
      }, {
        "fixed" : "1.8.8"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2010-0828"
  }, {
    "type" : "WEB",
    "url" : "https://www.ubuntu.com/usn/USN-925-1"
  }, {
    "type" : "WEB",
    "url" : "https://www.debian.org/security/2010/dsa-2024"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20221025223621/http://hg.moinmo.in/moin/1.8"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20221003055226/http://hg.moinmo.in/moin/1.9/rev/788131dd21c3"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20220927220946/http://hg.moinmo.in/moin/1.9/rev/689e2b04bd4d"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20200228163432/http://hg.moinmo.in/moin/1.9/rev/6e603e5411ca"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20200228163431/http://www.securityfocus.com/bid/39110"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20151104183344/http://secunia.com/advisories/39188"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20151017033557/http://secunia.com/advisories/39190"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20151017033127/http://secunia.com/advisories/39267"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20151017002542/http://secunia.com/advisories/39284"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/moin/PYSEC-2010-28.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/moinwiki/moin"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/57435"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=578801"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.launchpad.net/ubuntu/+source/moin/+bug/538022"
  }, {
    "type" : "WEB",
    "url" : "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=575995"
  }, {
    "type" : "WEB",
    "url" : "http://hg.moinmo.in/moin/1.9/rev/6e603e5411ca"
  }, {
    "type" : "WEB",
    "url" : "http://lists.fedoraproject.org/pipermail/package-announce/2010-April/038490.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.fedoraproject.org/pipermail/package-announce/2010-April/038574.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.fedoraproject.org/pipermail/package-announce/2010-April/038706.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-04-29T11:15:55Z",
    "nvd_published_at" : "2010-04-05T15:30:00Z"
  }
}