Vulnerability Description
AntiSamy is a library for performing fast, configurable cleansing of HTML coming from untrusted sources. Prior to version 1.7.4, there is a potential for a mutation XSS (mXSS) vulnerability in AntiSamy caused by flawed parsing of the HTML being sanitized. To be subject to this vulnerability the `preserveComments` directive must be enabled in your policy file and also allow for certain tags at the same time. As a result, certain crafty inputs can result in elements in comment tags being interpreted as executable when using AntiSamy's sanitized output. This issue has been patched in AntiSamy 1.7.4 and later.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Antisamy Project | Antisamy | < 1.7.4 |
Related Weaknesses (CWE)
References
- https://github.com/nahsra/antisamy/releases/tag/v1.7.4Patch
- https://github.com/nahsra/antisamy/security/advisories/GHSA-pcf2-gh6g-h5r2ExploitMitigationProduct
- https://github.com/nahsra/antisamy/releases/tag/v1.7.4Patch
- https://github.com/nahsra/antisamy/security/advisories/GHSA-pcf2-gh6g-h5r2ExploitMitigationProduct
FAQ
What is CVE-2023-43643?
CVE-2023-43643 is a vulnerability with a CVSS score of 6.1 (MEDIUM). AntiSamy is a library for performing fast, configurable cleansing of HTML coming from untrusted sources. Prior to version 1.7.4, there is a potential for a mutation XSS (mXSS) vulnerability in AntiSam...
How severe is CVE-2023-43643?
CVE-2023-43643 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2023-43643?
Check the references section above for vendor advisories and patch information. Affected products include: Antisamy Project Antisamy.