CVE-2023-43876: Withdrawn Advisory Cross-Site Scripting Vulnerability
MODERATECVE-2023-43876 is a MODERATE (CVSS 5.4) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Withdrawn Advisory libraries in the Packagist ecosystem. The issue involves october cross-site scripting vulnerability. Remediation is available in the latest vendor maintenance releases.
CVE-2023-43876 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-43876
To remediate this vulnerability, upgrade all affected Withdrawn Advisory 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 october/cms to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for october/cms
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-43876, inspect your project dependencies for Withdrawn Advisory:
inspect dependencies for october/cms
Analyze the terminal output to locate any version of Withdrawn Advisory 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: 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 Withdrawn Advisory, 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-43876 Affected Withdrawn Advisory Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
october/cms
|
Packagist |
≤ 3.4.16
|
|
References
Frequently Asked Questions
What is CVE-2023-43876?
Which Withdrawn Advisory versions are affected?
What version fixes CVE-2023-43876?
Is october/cms affected?
What is the CVSS score of CVE-2023-43876?
What CWE is associated with CVE-2023-43876?
How can I check Packagist dependencies for CVE-2023-43876?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2g8p-j2r6-vqpj",
"modified" : "2023-10-05T17:32:33Z",
"published" : "2023-09-28T15:30:17Z",
"withdrawn" : "2023-10-05T17:32:33Z",
"aliases" : [ "CVE-2023-43876" ],
"summary" : "Withdrawn Advisory: October Cross-site Scripting vulnerability",
"details" : "## Withdrawn Advisory\nThis advisory has been withdrawn because the vulnerability affects October CMS's installer, not October CMS. The installer deletes all folders and files upon completion of installation. The vulnerability is valid, but because October's installer is not part of one of the GitHub Advisory Database's [supported ecosystems](https://github.com/github/advisory-database/blob/main/README.md#supported-ecosystems), alerts cannot be sent out for the correct package.\n\n## Corrected Description\nA Cross-Site Scripting (XSS) vulnerability in the installer of October CMS allows an attacker to execute arbitrary web scripts via a crafted payload injected into the dbhost field.",
"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" : "october/cms"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "3.4.16"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-43876"
}, {
"type" : "WEB",
"url" : "https://github.com/sromanhu/CVE-2023-43876-October-CMS-Reflected-XSS---Installation/issues/1"
}, {
"type" : "WEB",
"url" : "https://github.com/octobercms/install/commit/ef1225b5596b7c2eb5ca3aa700a23e9f8acf387b"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/octobercms/install"
}, {
"type" : "WEB",
"url" : "https://github.com/sromanhu/October-CMS-Reflected-XSS---Installation/blob/main/README.md"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-09-29T20:39:02Z",
"nvd_published_at" : "2023-09-28T15:15:12Z"
}
}