CVE-2014-3840: Mayan edms Cross-Site Scripting Vulnerability
MODERATECVE-2014-3840 is a MODERATE cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Mayan edms libraries in the PyPI ecosystem. The issue involves mayan edms multiple cross-site scripting (xss) vulnerabilities. Remediation is available in the latest vendor maintenance releases.
CVE-2014-3840 at a Glance
How to Fix CVE-2014-3840
To remediate this vulnerability, upgrade all affected Mayan edms 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 mayan-edms>=Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show mayan-edms
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2014-3840, inspect your installed packages using pip:
pip show mayan-edms
Analyze the terminal output to locate any version of Mayan edms in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The pip show mayan-edms 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 Mayan edms, 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-2014-3840 Affected Mayan edms Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
mayan-edms
|
PyPI |
|
|
References
Frequently Asked Questions
What is CVE-2014-3840?
Which Mayan edms versions are affected?
What version fixes CVE-2014-3840?
Is mayan-edms affected?
What CWE is associated with CVE-2014-3840?
How can I check PyPI dependencies for CVE-2014-3840?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-wpvx-26f7-65q3",
"modified" : "2024-11-22T20:21:10Z",
"published" : "2022-05-17T04:41:54Z",
"aliases" : [ "CVE-2014-3840" ],
"summary" : "Mayan EDMS multiple cross-site scripting (XSS) vulnerabilities",
"details" : "Multiple cross-site scripting (XSS) vulnerabilities in apps/common/templates/calculate_form_title.html in Mayan EDMS 0.13 allow remote authenticated users to inject arbitrary web script or HTML via a (1) tag or the (2) title of a source in a Staging folder, (3) Name field in a bootstrap setup, or Title field in a (4) smart link or (5) web form.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "mayan-edms"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-3840"
}, {
"type" : "WEB",
"url" : "https://github.com/mayan-edms/mayan-edms/issues/3"
}, {
"type" : "WEB",
"url" : "https://github.com/mayan-edms/mayan-edms/commit/398c480c10416d76e7c1dcb607e726e8fc988e72"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/mayan-edms/Mayan-EDMS"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/mayan-edms/PYSEC-2014-110.yaml"
}, {
"type" : "WEB",
"url" : "http://research.openflare.org/advisories/OF-2014-09/mayan-edbs-storedxss.txt"
}, {
"type" : "WEB",
"url" : "http://research.openflare.org/poc/maya-edms/maya-edms_multiple_xss.avi"
}, {
"type" : "WEB",
"url" : "http://seclists.org/oss-sec/2014/q2/349"
}, {
"type" : "WEB",
"url" : "http://seclists.org/oss-sec/2014/q2/352"
}, {
"type" : "WEB",
"url" : "http://www.exploit-db.com/exploits/33493"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-11-22T20:21:10Z",
"nvd_published_at" : "2014-05-27T13:55:00Z"
}
}