Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2024-23635 (Medium) detected in antisamy-1.4.3.jar #419

Open
1 task
mend-for-github-com bot opened this issue Feb 28, 2024 · 0 comments
Open
1 task

CVE-2024-23635 (Medium) detected in antisamy-1.4.3.jar #419

mend-for-github-com bot opened this issue Feb 28, 2024 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github-com
Copy link

mend-for-github-com bot commented Feb 28, 2024

CVE-2024-23635 - Medium Severity Vulnerability

Vulnerable Library - antisamy-1.4.3.jar

The OWASP AntiSamy project is a collection of APIs for safely allowing users to supply their own HTML and CSS without exposing the site to XSS vulnerabilities.

Library home page: http://www.owasp.org/

Path to dependency file: /foxtrot-translator/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/owasp/antisamy/antisamy/1.4.3/antisamy-1.4.3.jar,/home/wss-scanner/.m2/repository/org/owasp/antisamy/antisamy/1.4.3/antisamy-1.4.3.jar,/home/wss-scanner/.m2/repository/org/owasp/antisamy/antisamy/1.4.3/antisamy-1.4.3.jar,/home/wss-scanner/.m2/repository/org/owasp/antisamy/antisamy/1.4.3/antisamy-1.4.3.jar

Dependency Hierarchy:

  • hbase-server-1.2.1.jar (Root Library)
    • esapi-2.1.0.jar
      • antisamy-1.4.3.jar (Vulnerable Library)

Found in HEAD commit: ffb8a6014463ce8aac1bf6e7dc9a23fc4a2a8adc

Found in base branch: master

Vulnerability Details

AntiSamy is a library for performing fast, configurable cleansing of HTML coming from untrusted sources. Prior to 1.7.5, 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. As a result, certain crafty inputs can result in elements in comment tags being interpreted as executable when using AntiSamy's sanitized output. Patched in AntiSamy 1.7.5 and later.

Publish Date: 2024-02-02

URL: CVE-2024-23635

CVSS 3 Score Details (6.1)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: Low
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-2mrq-w8pv-5pvq

Release Date: 2024-02-02

Fix Resolution (org.owasp.antisamy:antisamy): 1.7.5

Direct dependency fix Resolution (org.apache.hbase:hbase-server): 1.2.3


  • Check this box to open an automated fix PR
@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants