CodeAnt AI home pagelight logodark logo
  • Dashboard
  • Dashboard
  • Documentation
  • Demo Call with CEO
  • Blog
  • Slack
  • Get Started
    • CodeAnt AI
    • Setup
    • Control Center
    • Pull Request Review
    • IDE
    • Compliance
    • Anti-Patterns
    • Code Governance
    • Infrastructure Security Database
    • Application Security Database
      • Apex
      • Bash
      • C
      • Clojure
      • Cpp
      • Csharp
      • Dockerfile
      • Elixir
      • Fingerprints
      • Generic
      • Go
      • Html
      • Java
      • Javascript
      • Json
      • Kotlin
      • Ocaml
      • Php
      • Problem-based-packs
      • Python
      • Ruby
      • Rust
      • Scala
      • Solidity
      • Swift
      • Terraform
      • Typescript
        • Angular
        • Aws-cdk
        • Lang
        • Nestjs
        • Nextjs
        • React
          • Best practice
          • Portability
          • React-create-element-dangerouslysetinnerhtml-prop
          • React-create-element-dangerouslysetinnerhtml-url
          • React-create-element-href-prop
          • React-create-element-href-url
          • React-dangerouslysetinnerhtml-prop
          • React-dangerouslysetinnerhtml-url
          • React-href-prop
          • React-href-url
          • React-refs-prop
          • React-refs-url
          • Security
          • Security
        • Typescript
      • Yaml
    React

    Security

    Overwriting transformLinkUri or transformImageUri to something insecure, or turning allowDangerousHtml on, or turning escapeHtml off, will open the code up to XSS vectors.
    Likelihood: LOW
    Confidence: LOW
    CWE:
    - CWE-79: Improper Neutralization of Input During Web Page Generation (‘Cross-site Scripting’)
    OWASP:
    - A07:2017 - Cross-Site Scripting (XSS)
    - A03:2021 - Injection

    Unencrypted request over HTTP detected.
    Likelihood: LOW
    Confidence: MEDIUM
    CWE:
    - CWE-319: Cleartext Transmission of Sensitive Information
    OWASP:
    - A03:2017 - Sensitive Data Exposure
    - A02:2021 - Cryptographic Failures

    React refs urlAudit
    twitterlinkedin
    Powered by Mintlify