Skip to content

[Issue] Update live-edit.ts DOM Text Interpreted As HTML #893

Open
@m2-assistant

Description

@m2-assistant

This issue is automatically created based on existing pull request: #883: Update live-edit.ts DOM Text Interpreted As HTML


Description (*)

Here innerText can be used it will avoid the risk of HTML injection, as these properties automatically escape any HTML special characters in the provided text. This helps prevent cross-site scripting (XSS) vulnerabilities by treating the input as plain text rather than interpreted HTML.

Checklist

  • Pull request has a meaningful description of its purpose
    All commits are accompanied by meaningful commit messages
    All new or changed code is covered with unit/integration tests (if applicable)
    README.md files for modified modules are updated and included in the pull request if any README.md predefined sections require an update
    All automated tests passed successfully (all builds are green)

Activity

engcom-Hotel

engcom-Hotel commented on Apr 4, 2025

@engcom-Hotel
Collaborator

@adobe export issue to Jira project PB

github-jira-sync-bot

github-jira-sync-bot commented on Apr 4, 2025

@github-jira-sync-bot

✅ Jira issue https://jira.corp.adobe.com/browse/PB-1607 is successfully created for this GitHub issue.

added
Triage: Dev.ExperienceIssue related to Developer Experience and needs help with Triage to Confirm or Reject it
on Apr 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Triage: Dev.ExperienceIssue related to Developer Experience and needs help with Triage to Confirm or Reject it

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @engcom-Hotel@engcom-November@github-jira-sync-bot

      Issue actions

        [Issue] Update live-edit.ts DOM Text Interpreted As HTML · Issue #893 · magento/magento2-page-builder