CVE-2024-1883
Medium · 6.3CVSS
6.3
EPSS
61.5%
Published
Mar 14, 2024
CISA due date
—
Cloudanix analysis
A malicious link could make a trusted PaperCut webpage run attacker-controlled code in a user’s browser if that user clicks it.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Application
- Class
- XSS
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
This vulnerability is a reflected cross-site scripting flaw in the PaperCut NG/MF application server. A remote, unauthenticated attacker can craft a URL containing malicious script content that is reflected by the server into a browser response without sufficient output encoding or input validation. Exploitation requires user interaction: a victim must open the attacker-controlled link. If successful, the script executes in the victim’s browser in the security context of the PaperCut web application, allowing limited access to page content, user-visible data, session-scoped actions, and browser-side manipulation.
Why it matters to the business
Successful exploitation could let an attacker abuse a trusted PaperCut web session to view or alter limited application data, perform actions as the clicked user, display convincing phishing content, or disrupt the user’s browser session. The issue is not listed in CISA KEV and is not marked as ransomware-associated, but the EPSS score is elevated, indicating meaningful internet exploitation likelihood; because the vulnerability has been public for a long time, externally reachable PaperCut interfaces should be treated as priority patch candidates.
How an attack unfolds
An attacker identifies a PaperCut NG/MF application server endpoint that reflects request parameters into an HTML response. The attacker creates a URL containing JavaScript payloads in one or more parameters and sends it to a target user through email, chat, a helpdesk ticket, or another social-engineering channel. When the user clicks the link, the PaperCut server returns a page containing the injected script. The victim’s browser executes that script as if it came from the legitimate PaperCut site. Depending on browser protections, cookie attributes, user privileges, and application controls, the attacker may read page content, capture anti-CSRF tokens, trigger same-origin application actions, redirect the user to phishing pages, or modify what the user sees. The attack is constrained by the need for user interaction and by the victim’s privileges in the application.
How to fix it
Upgrade PaperCut NG/MF to a vendor-supported version that includes the fix for this reflected XSS issue, following PaperCut’s official advisory and release notes. If the provided package inventory is applicable to the environment, ensure electron-userland/electron-builder is updated to or beyond commit 8b43098338d9f911eaf60ecab3fa0a26fd500722 and shedaniel/roughlyenoughitems is updated to or beyond commit e80ca84f1affb91d2388ddb298bfc6b141828cad; however, validate product mapping because those package records do not align with the PaperCut description. As compensating controls, restrict access to PaperCut administrative and user web interfaces to trusted networks or VPN, enforce strong authentication, set cookies with HttpOnly/Secure/SameSite where supported, deploy a restrictive Content Security Policy, and add WAF rules to block common reflected XSS payloads such as script tags, event-handler attributes, and javascript: URLs. Do not rely on WAF filtering as a substitute for patching.
How to confirm the fix worked
Confirm the deployed PaperCut NG/MF version is at or above the fixed vendor release. Review the vendor advisory and compare the application server build number from the administrative interface, installed package metadata, or server files. Perform an authenticated and unauthenticated web application scan focused on reflected XSS, verifying that user-supplied URL parameters are HTML-encoded and do not execute script. Test representative URLs with benign payloads such as encoded angle brackets and event-handler strings and confirm they are either rejected, encoded, or rendered inert. Validate that PaperCut web interfaces are not unnecessarily exposed to the internet and that CSP, cookie flags, and access controls are in effect.
Typical attack path
- Discover an exposed PaperCut NG/MF web application server or target users known to access it.
- Identify or reuse a vulnerable reflected parameter that returns attacker-controlled content in an HTML response.
- Craft a URL containing a JavaScript payload, often URL-encoded to evade simple filters.
- Deliver the URL to a victim through phishing, chat, document links, support workflows, or another trusted communication channel.
- Victim clicks the link while using a browser that can reach the PaperCut application.
- The server reflects the malicious input into the response, and the victim’s browser executes it in the PaperCut site context.
- Attacker uses the script to read page content, manipulate the UI, capture tokens available to JavaScript, or issue same-origin requests as the victim.
- Attacker exfiltrates collected data or chains the access into additional social engineering or application-level actions.
How to detect it
To determine whether exploitation has already occurred, review PaperCut application logs, web server or reverse proxy access logs, WAF logs, EDR browser telemetry, DNS logs, and outbound proxy logs. Focus on HTTP requests to PaperCut web interfaces that contain encoded or raw JavaScript syntax in query strings or form parameters, especially requests followed by unusual user actions, redirects, or outbound connections to unfamiliar domains. Search for script tags, event-handler attributes such as onerror or onload, javascript: URLs, document.cookie access, fetch/XMLHttpRequest calls, and encoded forms of these strings. Correlate suspicious requests with the authenticated user, source IP, user agent, referrer, and subsequent PaperCut actions. Because reflected XSS executes in the browser, server-side evidence may only show the malicious URL request; client-side evidence may include browser history entries, proxy records for exfiltration endpoints, EDR detections for suspicious browser network activity, and helpdesk reports of unexpected pop-ups, redirects, or login prompts.
- %3Cscript
- <script
- %3C%2Fscript%3E
- </script>
- javascript:
- javascript%3A
- onerror=
- onerror%3D
- onload=
- onload%3D
- onclick=
- onclick%3D
- document.cookie
- document%2Ecookie
- document.location
- document%2Elocation
- window.location
- window%2Elocation
- eval(
- eval%28
- alert(
- alert%28
- prompt(
- prompt%28
- confirm(
- confirm%28
- fetch(
- fetch%28
- XMLHttpRequest
- new Image().src
- new%20Image%28%29.src
- <img
- %3Cimg
- <svg
- %3Csvg
- <iframe
- %3Ciframe
- srcdoc=
- srcdoc%3D
- data:text/html
- data%3Atext%2Fhtml
What your security team should do
- Prioritize patching externally reachable PaperCut NG/MF servers because the EPSS score indicates elevated exploitation likelihood despite no KEV listing.
- Inventory all PaperCut NG/MF application servers, including test and legacy systems, and confirm their exact versions against the vendor fixed release.
- Restrict PaperCut web access to trusted networks, VPN, or identity-aware access proxies, especially for administrative interfaces.
- Hunt historical web access logs for XSS payload indicators, URL-encoded script tags, event-handler attributes, and suspicious outbound callbacks following PaperCut page visits.
- Add SIEM and WAF detections for reflected XSS patterns targeting PaperCut paths or hosts.
- Educate helpdesk and administrative users not to open unexpected PaperCut links from email, tickets, or chat messages.
- Verify browser-side hardening controls, including HttpOnly and SameSite cookies and a restrictive Content Security Policy where supported.
- Investigate any suspicious PaperCut session activity occurring immediately after requests containing script-like parameters.
The record
This is a reflected cross site scripting vulnerability in the PaperCut NG/MF application server. An attacker can exploit this weakness by crafting a malicious URL that contains a script. When an unsuspecting user clicks on this malicious link, it could potentially lead to limited loss of confidentiality, integrity or availability.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-114577 A vulnerability was found in oretnom23 php-travel-agency-system. CWE-74
- CVE-2026-114575 A flaw has been found in TOTOLINK A950RG 4.1.2cu.5268_B20221104. CWE-74
- CVE-2026-112150 A security flaw has been discovered in vraj404 Criminal-Management-System up to… CWE-74
- CVE-2026-112141 A vulnerability was determined in satya-vinay Events-Management-System up to… CWE-74
- CVE-2026-112100 A vulnerability was determined in DeepPavlov up to 1.7.0. CWE-74
- CVE-2026-112087 A weakness has been identified in itsourcecode Online Cake Ordering System 1.0. CWE-74
- CVE-2026-111991 A security vulnerability has been detected in WongKinYiu yolov9 0.1. CWE-74
- CVE-2026-111986 A vulnerability was determined in AUTOMATIC1111 stable-diffusion-webui up to 1.10.1. CWE-74