#VU86736 Cross-site scripting in AntiSamy


Published: 2024-02-22

Vulnerability identifier: #VU86736

Vulnerability risk: Low

CVSSv3.1: 4.1 [CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2024-23635

CWE-ID: CWE-79

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
AntiSamy
Universal components / Libraries / Libraries used by multiple products

Vendor: nahsra (Arshan Dabirsiaghi)

Description

The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.

The vulnerability exists due to insufficient sanitization of user-supplied data when parsing comment tags. A remote attacker can inject and execute arbitrary HTML and script code in user's browser in context of vulnerable website.

Successful exploitation of the vulnerability requires that the preserveComments directive is enabled in policy file.

Mitigation
Install update from vendor's website.

Vulnerable software versions

AntiSamy: 1.5.7 - 1.7.4


External links
http://github.com/nahsra/antisamy/security/advisories/GHSA-2mrq-w8pv-5pvq
http://github.com/nahsra/antisamy/releases/tag/v1.7.5


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability