Skip to content

chore(deps): update dependency sanitize-html to v2.17.4#336

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/sanitize-html-2.x-lockfile
Open

chore(deps): update dependency sanitize-html to v2.17.4#336
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/sanitize-html-2.x-lockfile

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Mar 6, 2026

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
sanitize-html (source) 2.17.12.17.4 age adoption passing confidence
@types/sanitize-html (source) 2.16.02.16.1 age adoption passing confidence

Release Notes

apostrophecms/apostrophe (sanitize-html)

v2.17.4

Changes
  • sanitize-html and launder now share a single implementation of naughtyHref, based on that which previously existed in sanitize-html.
Security
  • Security vulnerability: the xmp tag could be used to pass forbidden markup through sanitize-html, even when xmp itself is not explicitly allowed All users of sanitize-html should update immediately. Thanks to Vincenzo Turturro for reporting the vulnerability.

v2.17.3

Compare Source

Security
  • Fix vulnerability introduced in version 2.17.2 that allowed XSS attacks if the developer chose to permit option tags. There was no vulnerability when not explicitly allowing option tags.

v2.17.2

Compare Source

Changes
  • Upgrade htmlparser2 from 8.x to 10.1.0. This improves security by correctly decoding zero-padded numeric character references (e.g., &#​0000001) that previously bypassed javascript: URL detection. Also fixes double-encoding of entities inside raw text elements like textarea and option.

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Mar 6, 2026

Deploying charlotte with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7e5e602
Status: ✅  Deploy successful!
Preview URL: https://fc16591e.charlotte-e3z.pages.dev
Branch Preview URL: https://renovate-sanitize-html-2-x-l.charlotte-e3z.pages.dev

View logs

Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.
Architecture diagram
sequenceDiagram
    participant User as Client/User
    participant API as API Controller
    participant Lib as sanitize-html (Library)
    participant DB as Database

    Note over User,DB: Sanitization Flow for Untrusted HTML Input

    User->>API: POST /resource (content: "raw_html")
    
    API->>Lib: CHANGED: sanitize(content, options)
    Note right of Lib: PR updates @types/sanitize-html v2.16.1<br/>Ensures compile-time safety for<br/>sanitization configuration.

    Lib-->>API: Sanitized Safe HTML
    
    API->>DB: Save sanitized content
    DB-->>API: Success
    
    API-->>User: 201 Created / 200 OK
Loading

@netlify
Copy link
Copy Markdown

netlify Bot commented Mar 6, 2026

Deploy Preview for chuwublog ready!

Name Link
🔨 Latest commit 7e5e602
🔍 Latest deploy log https://app.netlify.com/projects/chuwublog/deploys/6a04bd3d2e520200088b2c5e
😎 Deploy Preview https://deploy-preview-336--chuwublog.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 78
Accessibility: 97
Best Practices: 100
SEO: 99
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@renovate renovate Bot changed the title chore(deps): update dependency @types/sanitize-html to v2.16.1 chore(deps): update dependency sanitize-html to v2.17.2 Mar 18, 2026
@renovate renovate Bot force-pushed the renovate/sanitize-html-2.x-lockfile branch from 0a17e37 to 4b5f0c3 Compare March 18, 2026 20:42
@renovate renovate Bot force-pushed the renovate/sanitize-html-2.x-lockfile branch 2 times, most recently from 1002f28 to 15ecc3d Compare April 8, 2026 18:12
@renovate renovate Bot force-pushed the renovate/sanitize-html-2.x-lockfile branch from 15ecc3d to e5faf95 Compare April 16, 2026 12:38
@renovate renovate Bot changed the title chore(deps): update dependency sanitize-html to v2.17.2 chore(deps): update dependency sanitize-html to v2.17.3 Apr 16, 2026
@renovate renovate Bot force-pushed the renovate/sanitize-html-2.x-lockfile branch from e5faf95 to 8d27789 Compare April 29, 2026 13:43
@renovate renovate Bot force-pushed the renovate/sanitize-html-2.x-lockfile branch from 8d27789 to 8040565 Compare May 12, 2026 10:12
@renovate renovate Bot changed the title chore(deps): update dependency sanitize-html to v2.17.3 chore(deps): update dependency sanitize-html to v2.17.4 May 13, 2026
@renovate renovate Bot force-pushed the renovate/sanitize-html-2.x-lockfile branch from 8040565 to 7e5e602 Compare May 13, 2026 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants