CVE-2022-38080: Exceedone/exment Cross-Site Scripting Vulnerability
MODERATECVE-2022-38080 is a MODERATE (CVSS 5.4) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Exceedone/exment libraries in the Packagist ecosystem. The issue involves exceedone/exment and exceedone/laravel-admin cross-site scripting vulnerability. Remediation is available by upgrading affected packages to version 5.0.3, 4.4.3, 2.2.3, 3.0.1.
CVE-2022-38080 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-2022-38080
To remediate this vulnerability, upgrade all affected Exceedone/exment dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade exceedone/exment to 5.0.3
Upgrade exceedone/exment to 4.4.3
Upgrade exceedone/laravel-admin to 2.2.3
Upgrade exceedone/laravel-admin to 3.0.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for exceedone/exment
How to Check if You Are Affected
To determine whether your application is affected by CVE-2022-38080, inspect your project dependencies for Exceedone/exment:
inspect dependencies for exceedone/exment
Analyze the terminal output to locate any version of Exceedone/exment in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.0.3), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
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 Exceedone/exment, 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-2022-38080 Affected Exceedone/exment Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
exceedone/exment
|
Packagist |
≥ 5.0.0
< 5.0.3
|
5.0.3
|
|
exceedone/exment
|
Packagist |
< 4.4.3
|
4.4.3
|
|
exceedone/laravel-admin
|
Packagist |
< 2.2.3
|
2.2.3
|
|
exceedone/laravel-admin
|
Packagist |
≥ 3.0.0
< 3.0.1
All 1 versions
3.0.0
|
3.0.1
|
References
Frequently Asked Questions
What is CVE-2022-38080?
Which Exceedone/exment versions are affected?
What version fixes CVE-2022-38080?
Is exceedone/exment affected?
Is exceedone/laravel-admin affected?
What is the CVSS score of CVE-2022-38080?
What CWE is associated with CVE-2022-38080?
How can I check Packagist dependencies for CVE-2022-38080?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8629-83m5-rj75",
"modified" : "2022-09-16T21:06:16Z",
"published" : "2022-08-25T00:00:29Z",
"aliases" : [ "CVE-2022-38080" ],
"summary" : "exceedone/exment and exceedone/laravel-admin Cross-site Scripting vulnerability",
"details" : "Reflected cross-site scripting vulnerability in Exment ((PHP8) exceedone/exment v5.0.2 and earlier and exceedone/laravel-admin v3.0.0 and earlier, (PHP7) exceedone/exment v4.4.2 and earlier and exceedone/laravel-admin v2.2.2 and earlier) allows a remote authenticated attacker to inject an arbitrary script.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "exceedone/exment"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.0.0"
}, {
"fixed" : "5.0.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "exceedone/exment"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.4.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "exceedone/laravel-admin"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.2.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "exceedone/laravel-admin"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.0"
}, {
"fixed" : "3.0.1"
} ]
} ],
"versions" : [ "3.0.0" ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-38080"
}, {
"type" : "WEB",
"url" : "https://exment.net/docs/#/release_note?id=v503-20220817"
}, {
"type" : "WEB",
"url" : "https://exment.net/docs/#/weakness/20220817"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/exceedone/exment"
}, {
"type" : "WEB",
"url" : "https://jvn.jp/en/jp/JVN46239102/index.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-09-16T21:06:16Z",
"nvd_published_at" : "2022-08-24T09:15:00Z"
}
}