CVE-2023-35783: Tpwd/ke search Cross-Site Scripting Vulnerability
MODERATECVE-2023-35783 is a MODERATE (CVSS 6.3) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Tpwd/ke search libraries in the Packagist ecosystem. The issue involves ke_search (aka faceted search) vulnerable to cross-site scripting. Remediation is available by upgrading affected packages to version 5.0.2, 4.6.6, 4.0.3.
CVE-2023-35783 at a Glance
Security Impact
CVSS: 6.3
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:N/S:U/C:L/I:L/A:L).
How to Fix CVE-2023-35783
To remediate this vulnerability, upgrade all affected Tpwd/ke search 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 tpwd/ke_search to 5.0.2
Upgrade tpwd/ke_search to 4.6.6
Upgrade tpwd/ke_search to 4.0.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for tpwd/ke_search
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-35783, inspect your project dependencies for Tpwd/ke search:
inspect dependencies for tpwd/ke_search
Analyze the terminal output to locate any version of Tpwd/ke search in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.0.2), 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 Tpwd/ke search, 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-35783 Affected Tpwd/ke search Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
tpwd/ke_search
|
Packagist |
≥ 5.0.0
< 5.0.2
|
5.0.2
|
|
tpwd/ke_search
|
Packagist |
≥ 4.1.0
< 4.6.6
|
4.6.6
|
|
tpwd/ke_search
|
Packagist |
< 4.0.3
|
4.0.3
|
References
Frequently Asked Questions
What is CVE-2023-35783?
Which Tpwd/ke search versions are affected?
What version fixes CVE-2023-35783?
Is tpwd/ke_search affected?
What is the CVSS score of CVE-2023-35783?
What CWE is associated with CVE-2023-35783?
How can I check Packagist dependencies for CVE-2023-35783?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-f4m6-x2xj-jc7w",
"modified" : "2023-06-16T19:50:28Z",
"published" : "2023-06-16T15:30:19Z",
"aliases" : [ "CVE-2023-35783" ],
"summary" : "ke_search (aka Faceted Search) vulnerable to Cross-Site Scripting",
"details" : "The ke_search (aka Faceted Search) extension before 4.0.3, 4.1.x through 4.6.x before 4.6.6, and 5.x before 5.0.2 for TYPO3 allows XSS via indexed data.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "tpwd/ke_search"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.0.0"
}, {
"fixed" : "5.0.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "tpwd/ke_search"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.1.0"
}, {
"fixed" : "4.6.6"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "tpwd/ke_search"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.0.3"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-35783"
}, {
"type" : "WEB",
"url" : "https://github.com/tpwd/ke_search/commit/14fa0703c2469e04eb398be4ae6268ec6ad6e720"
}, {
"type" : "WEB",
"url" : "https://github.com/tpwd/ke_search/commit/b0f05d7e7e207bc0d5051bd96f3ff43c5c3658c6"
}, {
"type" : "WEB",
"url" : "https://github.com/tpwd/ke_search/commit/d81a1f2f3dcb612220d505b495bc2851b87f6f74"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/tpwd/ke_search/CVE-2023-35783.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/tpwd/ke_search"
}, {
"type" : "WEB",
"url" : "https://typo3.org/security/advisory/typo3-ext-sa-2023-004"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-06-16T19:50:28Z",
"nvd_published_at" : "2023-06-16T15:15:10Z"
}
}