CVE-2022-38073: Awesome Support vulnerable to persistent cross-site scripting
5.4
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.38243%
CWE
Published
9/22/2022
Updated
1/28/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| awesome-support/awesome-support | composer | <= 6.0.7 | 6.0.8 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from two key areas: 1) Ticket content handling in wpas_filter_ticket_data lacked wp_kses() sanitization for post_content, allowing XSS payloads in ticket bodies. 2) Custom field sanitization in get_sanitized_value didn't encode HTML entities, enabling script injection through custom fields. The GitHub commit explicitly addresses both points by adding wp_kses() for post_content and htmlentities() encoding, directly correlating to CWE-79 XSS mitigation patterns. The functions' roles in processing user input and the specific patch changes confirm their vulnerability.