Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

webmention.js

Latest version: v0.5.7

Overview

Last scanned
2 Dec 2026
Published
2 Dec 2026
npm package Publisher: fluffycritter
130 Stars
20 Forks
1 Versions
240 Downloads
JavaScript Repo language

Scan summary

webmention.js was last scanned on 2 Dec 2026 at version 0.5.7. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: First and only release on 2 Dec 2026.
  • Findings: No rules fired in version 0.5.7.
  • Downloads: 240 downloads.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
0.5.7 LATEST 2 Dec 2026 No rules fired

No rules fired in 0.5.7

Findings

Findings for v0.5.7. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.5.7; other versions have their own rules, not their own score.

Known vulnerabilities

1 CVE · last 14 Jul 2023

0 CRITICAL 0 HIGH 1 MEDIUM 0 LOW

Versions

  • ≥ 0.5.5
  • < 0.5.5 1 MEDIUM

Vulnerabilities

  • CVE-2023-3672 Medium 14 Jul 2023 webmention.js Cross-site Scripting vulnerability Fixed in 0.5.5

README

The publisher’s own README, as collected from the registry.

webmention.js

Client-side library for rendering webmentions from webmention.io

Usage

  1. Copy the JavaScript file (webmention.min.js) from the static/ directory to somewhere on your website

  2. Put a <div id="webmentions"></div> where you want your webmentions to be embedded

  3. Put a <script src="/path/to/webmention.min.js" async></script> somewhere on your page (typically inside <head> but it doesn't really matter), replacing /path/to/ with whatever directory the JavaScript file is in

  4. You'll probably want to add some CSS rules to your stylesheet, in particular:

    #webmentions img { max-height: 1.2em; margin-right: -1ex; }

    See the included webmention.css file for an example.

You can also pass in some arguments, for example:

<script
    src="/path/to/webmention.min.js"
    data-id="webmention-container"
    async
></script>

Note that the async isn't strictly necessary but it can speed up apparent page loads.

Accepted arguments (see the source in static/webmention.js for more details):

  • page-url -- use this reference URL instead of the current browser location
  • add-urls -- additional URLs to include, separated by a |
  • id -- use this container ID instead of "webmentions"
  • wordcount -- truncate the reply to this many words (adding an ellipsis to the end of the last word)
  • max-webmentions -- the maximum webmentions to retrieve and render (defaults to 30)
  • prevent-spoofing -- set this to use the incoming mention source URL instead of the declared URL; setting this will disable one form of identity spoofing but will make mentions from webmention bridges (such as brid.gy or Telegraph) significantly uglier
  • sort-by -- what to sort the responses by; defaults to published time (see the webmention API for possible values)
  • sort-dir -- what order to sort the responses by; defaults to 'up' (ascending).
  • comments-are-reactions -- if set to 'true', displays comment-type responses (replies/mentions/etc.) as being part of the reactions (favorites/bookmarks/etc.) instead of in a separate comment list. Defaults to "false".
  • api-endpoint -- default to https://webmention.io/api/mentions.jf2, can be used to use a compatible alternative backend.

Look at the source code itself for more detailed information.

Localization/Internationalization

This library supports i18next to provide translations into other languages. The following strings are supported:

key usage
replied react image hover title
liked react image hover title
reposted react image hover title
reacted react image hover title
bookmarked react image hover title
mentioned react image hover title
RSVPed react image hover title
followed react image hover title
Responses Headline for comments
mention formatted comment
Reactions Headline for reactions

Development

To produce a minified JS, first install Node dependencies (via npm install) and then run npm run minify.

Contributors

Listed in order of first contribution:

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm webmention.js

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Frame 2085668439 (1)
Group 1261154229