CVE-2022-35500 in Bloginfo

Summary

by MITRE • 11/23/2022

Amasty Blog 2.10.3 is vulnerable to Cross Site Scripting (XSS) via leave comment functionality.

Be aware that VulDB is the high quality source for vulnerability data.

Analysis

by VulDB Data Team • 07/08/2026

The vulnerability identified as CVE-2022-35500 affects Amasty Blog version 2.10.3 and represents a critical cross site scripting flaw that specifically targets the comment submission functionality. This vulnerability allows attackers to inject malicious scripts into the blog's comment system, potentially compromising user sessions and data integrity. The flaw exists within the input validation mechanisms that process user-generated content when leaving comments on blog posts, creating an attack vector that can be exploited across multiple user sessions.

The technical implementation of this vulnerability stems from insufficient sanitization of user input within the comment processing pipeline. When users submit comments through the blog interface, the application fails to properly validate or escape special characters that could be interpreted as executable script code. This weakness enables attackers to craft malicious payloads that include javascript code or other scripting elements which are then stored and executed when other users view the affected comments. The vulnerability specifically manifests in the comment submission form where user input is directly rendered without appropriate context-specific escaping or validation controls.

From an operational perspective, this XSS vulnerability presents significant risks to both end users and system administrators. Attackers can leverage this flaw to steal session cookies, redirect users to malicious websites, or inject persistent scripts that compromise user browsers. The impact extends beyond simple data theft as the vulnerability can be used to execute arbitrary code within the context of the victim's browser, potentially leading to full account compromise or lateral movement within the affected web application. The persistent nature of stored XSS attacks means that once a malicious comment is submitted, it will affect all users who view that content until the comment is removed or the vulnerability is patched.

Security professionals should consider this vulnerability in relation to CWE-79 which specifically addresses cross site scripting flaws in software applications. The attack surface aligns with ATT&CK technique T1566 which covers social engineering through malicious content delivery, particularly focusing on the delivery of malicious scripts through web-based comment systems. Organizations should implement immediate mitigations including input validation, output encoding, and content security policy enforcement to prevent exploitation. The recommended remediation includes updating to the patched version of Amasty Blog, implementing proper HTML escaping for all user-generated content, and establishing comprehensive input validation controls that filter out potentially dangerous characters and script patterns from comment submissions.

Reservation

07/11/2022

Disclosure

11/23/2022

Moderation

accepted

CPE

ready

EPSS

0.00482

KEV

no

Activities

very low

Sector

Education

Sources

Want to know what is going to be exploited?

We predict KEV entries!