
Security News
Next.js Patches Critical Middleware Vulnerability (CVE-2025-29927)
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
@forge/auth
Advanced tools
This package provides methods for app developers to authorize users and entities (issues, pages, etc.) before making asApp product REST API calls.
A small adapter around AP.request to get this library working in Connect apps:
const authorize = authorizeConfluenceWithFetch((url, { body }) => {
const res = new Promise((resolve) => {
addon.httpClient(req).post(
{
headers: {
'X-Atlassian-Token': 'no-check',
'Content-Type': 'application/json',
},
url,
body,
},
(err, response, body) => {
if (err || response.statusCode >= 400) {
// read response and reject
} else {
resolve(JSON.parse(body));
}
},
);
});
return res;
});
authorize('5c35519ce6047225b6d54c23')
.onConfluenceContent(309755905)
.canUpdate()
.then((checkResult /* true / false */) => {
// handle
}
The consumer would need to handle errors bubbled up from the fetch helper and the @forge/auth library.
FAQs
Supports authorization for product REST API calls
The npm package @forge/auth receives a total of 15,137 weekly downloads. As such, @forge/auth popularity was classified as popular.
We found that @forge/auth demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
Security News
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
Product
Socket, the leader in open source security, is now available on Google Cloud Marketplace for simplified procurement and enhanced protection against supply chain attacks.