GHSA-fwcm-rqvw-j3p7

Suggest an improvement
Source
https://github.com/advisories/GHSA-fwcm-rqvw-j3p7
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-fwcm-rqvw-j3p7/GHSA-fwcm-rqvw-j3p7.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-fwcm-rqvw-j3p7
Aliases
Published
2026-05-26T23:41:45Z
Modified
2026-05-26T23:56:24Z
Severity
  • 7.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P CVSS Calculator
Summary
FUXA has an unauthenticated arbitrary tag value disclosure via /api/getTagValue
Details

Summary

An authorization bypass in the /api/getTagValue endpoint allows unauthenticated access to tag values when the referenced script does not exist.

Details

The issue is caused by the combination of these code paths:

  • server/api/apikeys/verify-api-or-token.js:45 sends requests without x-api-key to authJwt.verifyToken(req, res, next).
  • server/api/jwt-helper.js:46-64 creates a signed guest token when no x-access-token is provided: if (!token) { token = getGuestToken(); } and then populates req.userId / req.userGroups from that guest token.
  • server/api/command/index.js:76-105 exposes /api/getTagValue.
  • server/runtime/scripts/index.js:106-111 returns true when the referenced script does not exist: if (!script) { return true; }

As a result, an unauthenticated request reaches /api/getTagValue as guest, and the authorization check is bypassed because isAuthorisedByScriptName() returns true when sourceScriptName is omitted or does not match a real script. The endpoint then returns arbitrary tag values by ID.

PoC

Requests to /api/getTagValue without authentication could succeed when the authorization logic evaluated a non-existent sourceScriptName as authorized.

Database specific
{
    "cwe_ids":  [
        "CWE-863"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-05-26T23:41:45Z",
    "nvd_published_at":  null,
    "severity":  "HIGH"
}
References

Affected packages

npm / fuxa-server

Package

Affected ranges

Type
SEMVER
Events
Introduced
1.3.0
Fixed
1.3.1

Affected versions

1.*
1.3.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-fwcm-rqvw-j3p7/GHSA-fwcm-rqvw-j3p7.json"