CVE-2023-2191: Azuracast/azuracast Cross-Site Scripting Vulnerability
LOWCVE-2023-2191 is a LOW (CVSS 3.5) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Azuracast/azuracast libraries in the Packagist ecosystem. The issue involves azuracast/azuracast vulnerable to cross-site scripting. Remediation is available by upgrading affected packages to version 0.18.0.
CVE-2023-2191 at a Glance
Security Impact
CVSS: 3.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N).
How to Fix CVE-2023-2191
To remediate this vulnerability, upgrade all affected Azuracast/azuracast 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 azuracast/azuracast to 0.18.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for azuracast/azuracast
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-2191, inspect your project dependencies for Azuracast/azuracast:
inspect dependencies for azuracast/azuracast
Analyze the terminal output to locate any version of Azuracast/azuracast in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.18.0), 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 Azuracast/azuracast, 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-2191 Affected Azuracast/azuracast Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
azuracast/azuracast
|
Packagist |
< 0.18.0
|
0.18.0
|
References
Frequently Asked Questions
What is CVE-2023-2191?
Which Azuracast/azuracast versions are affected?
What version fixes CVE-2023-2191?
Is azuracast/azuracast affected?
What is the CVSS score of CVE-2023-2191?
What CWE is associated with CVE-2023-2191?
How can I check Packagist dependencies for CVE-2023-2191?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-q55c-hmpf-6h2g",
"modified" : "2023-04-20T20:29:55Z",
"published" : "2023-04-20T03:30:16Z",
"aliases" : [ "CVE-2023-2191" ],
"summary" : "AzuraCast/AzuraCast vulnerable to cross-site scripting ",
"details" : "AzuraCast/AzuraCast prior to version 0.18.0 is vulnerable to stored cross-site scripting. An issue was identified where a user who already had an AzuraCast account could update their display name to inject malicious JavaScript into the header menu of the site. In a majority of cases, this menu is only visible to the current logged-in user (pages like the `Administer Users` page are unaffected by this vulnerability), but if a higher-privileged administrator uses the `Log In As` feature to masquerade as a user, then the JavaScript injection could exfiltrate certain data. Anonymous members of the public cannot exploit this vulnerability in an AzuraCast installation, so it is primarily of concern for multi-tenant installations (i.e. resellers).",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "azuracast/azuracast"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.18.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-2191"
}, {
"type" : "WEB",
"url" : "https://github.com/azuracast/azuracast/commit/24276cb4166b2057de73569ec33046a80a8bb437"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/AzuraCast/AzuraCast"
}, {
"type" : "WEB",
"url" : "https://github.com/AzuraCast/AzuraCast/blob/main/CHANGELOG.md#azuracast-0180-apr-19-2023"
}, {
"type" : "WEB",
"url" : "https://huntr.dev/bounties/0814f5f9-8b58-40e5-b08c-7c488947cf31"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2023-04-20T20:29:55Z",
"nvd_published_at" : "2023-04-20T02:15:06Z"
}
}